|

楼主 |
发表于 2005-10-11 12:59:58
|
显示全部楼层
shengc@ubuntu:~$ cat ./pinfo
set -o xtrace
tmp=./tmpfile
jobs -l > $tmp
shengc@ubuntu:~$ jobs -l
[1]+ 8167 Running ./sleep5 &
shengc@ubuntu:~$ ./pinfo
++ tmp=./tmpfile
++ jobs -l
shengc@ubuntu:~$ cat tmpfile
shengc@ubuntu:~$
As you see, it does not work, where is wrong? |
|