[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Searching inside files in a script
From: |
Greg Wooledge |
Subject: |
Re: Searching inside files in a script |
Date: |
Tue, 12 Oct 2021 16:18:38 -0400 |
On Tue, Oct 12, 2021 at 11:06:43PM +0300, Tapani Tarvainen wrote:
> tim=${EPOCHREALTIME//[![:digit:]]/}
>
> or, as there're never multiple decimal points,
>
> tim=${EPOCHREALTIME/[![:digit:]]}
>
> or is there a locale where there could be thousands separators or
> something like that in $EPOCHREALTIME?
You could just ask them what their locale is, and what one example
output of echo "$EPOCHREALTIME" is on their system.
We can take bets on whether they'll answer honestly. It'll be fun, I'm
sure! Seeing whether they have a different locale for each persona....
- Re: Searching inside files in a script, (continued)
- Re: Searching inside files in a script, Tapani Tarvainen, 2021/10/12
- Searching inside files in a script, Khan Smith, 2021/10/12
- Searching inside files in a script, Khan Smith, 2021/10/12
- Re: Searching inside files in a script, Alex fxmbsw7 Ratchev, 2021/10/12
- Searching inside files in a script, Khan Smith, 2021/10/12
- Re: Searching inside files in a script, Tapani Tarvainen, 2021/10/12
- Re: Searching inside files in a script, Dennis Williamson, 2021/10/12
- Re: Searching inside files in a script, Tapani Tarvainen, 2021/10/12
- Re: Searching inside files in a script,
Greg Wooledge <=
- Searching inside files in a script, Khan Smith, 2021/10/12