On 7/21/16 11:54 PM, Ryan Cunningham wrote:

> Bash Version: 4.3
> Patch Level: 42
> Release Status: release
> 
> Description:
>       When BASH finds a per-cent. sign ('%') as the first character of a
>       command after quote expansion, such a per-cent. sign is normally
>       treated as beginning the identifier of a job to take into the fore-
>       ground (or into the background, if the identifier is followed by an
>       ampersand ['&']).
> 
>       Contrary to current behavior, this should not happen if BASH en-
>       counters the per-cent. sign preceded by a backslash ('\') or enclosed
>       within quotation marks ("'...'").

The current behavior is as intended, and has always worked as it does
now.  The `%job' notation is not part of the shell language, and the `%'
is not an operator.  It is closer to a simple command.  As such, quoting
does not disable any special meaning.

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://cnswww.cns.cwru.edu/~chet/

Reply via email to