Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H  -I.  -I../bash -I../bash/include -I../bash/lib   -g -O2
uname output: Linux home 2.6.12-9-386 #1 Mon Oct 10 13:14:36 BST 2005 i686 
GNU/Linux
Machine Type: i486-pc-linux-gnu

Bash Version: 3.0
Patch Level: 16
Release Status: release

Description:
when a background or stopped process was started by a function with
arguments, then the arguments are not explicitly listed in the jobs
output, but instead the jobs output shows the defined patterns, such
as $@, $*, $1, $2 ...

Repeat-By:

Define a function with an argument, call it, ^Z the process, then
list jobs.  e.g.

$ le() { less -E "$@" ; }
$ le /etc/termcap
[ CTRL-Z the 'less' job. ]
[1]+  Stopped                 less -E "$@"
$ jobs
[1]+  Stopped                 less -E "$@"

This should instead say
[1]+  Stopped                 less -E /etc/termcap


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to