bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: % job spec not recognized


From: Chet Ramey
Subject: Re: % job spec not recognized
Date: Wed, 17 Nov 2004 14:49:04 -0500

> In bash 3.0, just "%" by itself apparently no longer gets the current
> job.  For example:
> 
> $ cat
> 
> 
> [1]+  Stopped                 cat
> $ jobs
> [1]+  Stopped                 cat
> $ %
> bash: fg: %: no such job
> $ %1
> cat
> 
> I really miss this.  
> 
> Version 3.00.0(1)-release, gnu/linux (red hat 9).  I looked around for
> previous reports or patches, but didn't succeed.  Any help appreciated ...

You didn't look hard enough ;-).

http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00182.html

The null job was never documented as valid, and only worked by an
accident of implementation.  It was removed as a side effect of a
general tightening of the job control parsing code.

I did a small survey of shells with job control support, and decided that
I will explicitly enable it again in the next version, and document it.

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    chet@po.cwru.edu    http://tiswww.tis.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]