bug-bash
[Top][All Lists]
Advanced

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

jobs cmd returns * instead or file name


From: Offer Kaye
Subject: jobs cmd returns * instead or file name
Date: Fri, 08 Feb 2002 00:09:50 +0200

Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-mandrake-linux-gnu' 
-DCONF_VENDOR='mandrake' -DSHELL -DHAVE_CONFIG_H  -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64  -I.  -I. -I./include -I./lib -I/usr/include -O3 
-fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math 
-fno-strength-reduce
uname output: Linux localhost.localdomain 2.4.8-26mdk #1 Sun Sep 23 17:06:39 
CEST 2001 i686 unknown
Machine Type: i586-mandrake-linux-gnu

Bash Version: 2.05
Patch Level: 1
Release Status: release

Description:
        when I use for example:
           function te(){ nedit $@ & }
           te kuku
           jobs
        I get as the output of the "jobs" command:
           [1]+  Running                 nedit $@ &
        i.e., instead of returning the file name it gives the "$@" string, 
which is 
*not* what I wanted- how can I know which job is which if I have several 
"te"s running? BTW, the same thing happens if I choose emacs instead of 
nedit...
        

Repeat-By:
        see above.

10x in advance,
Offer Kaye



reply via email to

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