[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: quote interpretation via vars without eval
From: |
Greg Wooledge |
Subject: |
Re: quote interpretation via vars without eval |
Date: |
Mon, 15 Mar 2021 15:39:31 -0400 |
On Mon, Mar 15, 2021 at 08:28:24PM +0100, Alex fxmbsw7 Ratchev wrote:
> btw greycat if you didnt watch it was command ls
> --quoting-style=shell-escape -cF ( | awk .. )
The ParsingLs wiki page does mention this, at the bottom. It's a recent
addition to GNU coreutils, and as such is extremely non-portable. And
requires the use of eval, *and* the use of bash (not sh).
Every other use of ls's output in a script is wrong. If your script isn't
a bash script, it's wrong. If your system isn't using GNU coreutils,
it's wrong. If your version of GNU coreutils is older than ~2016, it's
wrong.
- Re: quote interpretation via vars without eval, (continued)
- Re: quote interpretation via vars without eval, Alex fxmbsw7 Ratchev, 2021/03/13
- Re: quote interpretation via vars without eval, Koichi Murase, 2021/03/13
- Re: quote interpretation via vars without eval, Alex fxmbsw7 Ratchev, 2021/03/13
- Re: quote interpretation via vars without eval, Alex fxmbsw7 Ratchev, 2021/03/14
- Re: quote interpretation via vars without eval, Koichi Murase, 2021/03/14
- Re: quote interpretation via vars without eval, Alex fxmbsw7 Ratchev, 2021/03/14
- Re: quote interpretation via vars without eval, Koichi Murase, 2021/03/15
- Re: quote interpretation via vars without eval, Alex fxmbsw7 Ratchev, 2021/03/15
- Re: quote interpretation via vars without eval, Greg Wooledge, 2021/03/15
- Re: quote interpretation via vars without eval, Alex fxmbsw7 Ratchev, 2021/03/15
- Re: quote interpretation via vars without eval,
Greg Wooledge <=
- Re: quote interpretation via vars without eval, Marco Ippolito, 2021/03/15
- Re: quote interpretation via vars without eval, Greg Wooledge, 2021/03/15
- Re: quote interpretation via vars without eval, Alex fxmbsw7 Ratchev, 2021/03/15
- Re: quote interpretation via vars without eval, Alex fxmbsw7 Ratchev, 2021/03/15
- Re: quote interpretation via vars without eval, Greg Wooledge, 2021/03/15
- Re: quote interpretation via vars without eval, Alex fxmbsw7 Ratchev, 2021/03/15
- Re: quote interpretation via vars without eval, Koichi Murase, 2021/03/15
Re: quote interpretation via vars without eval, Chet Ramey, 2021/03/13