2017-12-04 16:40 GMT+01:00 Gerry Snyder <[email protected]>:
> No. One set of braces around the whole list of arguments.
>
That does not work:
exec {swapon --noheadings --show}
couldn't execute "swapon --noheadings --show": no such file or directory
while evaluating {exec {swapon --noheadings --show}}
or:
exec swapon {--noheadings --show}
swapon: unrecognized option '--noheadings --show'
On Dec 4, 2017 8:27 AM, "Cecil Westerhof" <[email protected]> wrote:
>
> > 2017-12-04 15:24 GMT+01:00 Gerry Snyder <[email protected]>:
> >
> > > It is always a good idea to put the arguments of [expr] in braces. That
> > way
> > > they are byte-compiled.
> > >
> >
> > You mean like:
> > exec {swapon} (--noheadings} {--show}
>
--
Cecil Westerhof
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users