[Top][All Lists]

[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' 
-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 
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

        when I use for example:
           function te(){ nedit $@ & }
           te kuku
        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 

        see above.

10x in advance,
Offer Kaye

reply via email to

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