Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: jobs -Z example?



On Sun, 15 Mar 2009, Bart Schaefer wrote:

} can someone point me to an example of "jobs -Z" in action?

torch% ps $$
 PID TTY      STAT   TIME COMMAND
5249 pts/4    Ss     0:00 Src/zsh -f
torch% jobs -Z "You can't see me"
torch% ps $$
 PID TTY      STAT   TIME COMMAND
5249 pts/4    Ss     0:00 You can't see me
torch% print $(< /proc/$$/cmdline )
You can't see me
torch%
=====================

that's pretty much what i expected, but it's not working on freeBSD.

7.1-STABLE + zsh 4.3.9 (amd64-portbld-freebsd7.1)
6.2-RELEASE + zsh 4.3.6 (amd64-portbld-freebsd6.2)

maybe it's a freeBSD/amd64 thing? it seems to work fine on linux (P3).


--
        ...atom

 ________________________
 http://atom.smasher.org/
 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
 -------------------------------------------------

	"Whenever people say 'We mustn't be sentimental',
	 you can take it they are about to do something cruel.
	 And if they add 'We must be realistic',
	 they mean they are going to make money out of it."
		-- Brigid Brophy



Messages sorted by: Reverse Date, Date, Thread, Author