On 9/21/19 1:37 PM, Robert Elz wrote:
>     Date:        Sat, 21 Sep 2019 17:18:47 +0200
>     From:        Andreas Schwab <sch...@linux-m68k.org>
>     Message-ID:  <875zllu17s....@igel.home>
> 
>   | A job spec already starts with %.
> 
> That's not what was meant.

It's the right answer, though.

> 
> In, for example:
> 
>       jinx$ help -s wait
>       wait: wait [-fn] [id ...]
> 
> the command name appears both before and after the ':', as if to
> say "The usage for the wait command is "wait" optional 'f' and 'n' flags,
> and some number of optional "id" args.

The job spec, introduced by the `%', *is* the command. It's explained in
the man page. Even a `%' by itself, without any job name or number, is a
job spec. So `%' is not a command name per se -- the command that gets
invoked is either `fg' or `bg'.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to