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

Re: _killall on linux



On Jul 8,  5:02pm, Bart Schaefer wrote:
}
} [*] Rather than $( [[ "$UID" = 0 ]] && print -n xa ) I'd suggest the less
} resource-intensive ${=EUID//(#s)0(#e)/ps xa}.

Of course it helps to complete my thought before I commit it to mail.
What I meant was ${${EUID/(#s)0(#e)/xa}//[0-9]#/}.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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