On 8/27/14, 8:06 AM, Stephane Chazelas wrote: > In > > info -f bash -n 'Invoking Bash' > > we find: > >> `-c' >> Read and execute commands from the first non-option ARGUMENT after >> processing the options, then exit. Any remaining arguments are >> assigned to the positional parameters, starting with `$0'.
True, it's careless wording. I will modify it. The key is that the behavior makes `bash -c string command args' and `bash command args' equivalent in how they set $0. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/