bug-bash
[Top][All Lists]
Advanced

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

Unsubstituted variables in "jobs" output


From: Hai Zaar
Subject: Unsubstituted variables in "jobs" output
Date: Mon, 30 Jun 2008 03:18:36 -0700 (PDT)

Consider the following:
$ AA=aa; BB=bb; (sleep 10; echo  $AA $BB) & jobs
[1] 6626
[1]+  Running                 ( sleep 10; echo $AA $BB ) &
If there any way tell jobs command to output AA and BB substituted with
their values?
This is especially disturbing when doing something like this:
  for i in $(seq 10); do ${commands[$i]} ${params[$i]} & done
Then jobs shows the list that only contains entries like
  [2]+  Done                    ${commands[$i]} ${params[$i]}
And I have no idea which job exactly has finished.
-- 
View this message in context: 
http://www.nabble.com/Unsubstituted-variables-in-%22jobs%22-output-tp18192567p18192567.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.





reply via email to

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