[Top][All Lists]

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

compile mode and sh ( ) &

From: Dan Jacobson
Subject: compile mode and sh ( ) &
Date: 30 Oct 2001 14:52:47 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

save this in /tmp/a.sh

echo o
(echo p;date;echo $$)&
echo i
#(echo n;date;echo $$)

and do (compile " sh a.sh")
Notice that you see no date, etc.  Now remove the #, you get two

this shows no date:
(echo p;date;echo q)&
(echo r;echo s)

this shows two dates:
(echo p;date;echo q)&
(echo r;date;echo s)

[Emacs version is in message header.]
http://www.geocities.com/jidanni Tel+886-4-25854780

reply via email to

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