Re: non-optimal use of -a flag with resolvconf
Roy Marples
Tue Mar 10 17:46:40 2015
On 10/03/2015 14:58, Joachim Achtzehnter wrote:
> This may be true, but ls seems to escape the colon in some of its output
> variants, although I don't remember the exact circumstance when I saw
> this. Not a big deal, but seems an unnecessary deviation.
You really don't use ls in scripts either
sh -c 'for f in /etc/*; do echo "$f"; done'
Saves a fork, which is expensive.
Roy
Archive administrator: postmaster@marples.name