From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8582 invoked from network); 29 May 2000 09:57:17 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 May 2000 09:57:17 -0000 Received: (qmail 20028 invoked by alias); 29 May 2000 09:56:43 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3093 Received: (qmail 20004 invoked from network); 29 May 2000 09:56:42 -0000 Date: Mon, 29 May 2000 11:56:37 +0200 From: Andy Spiegl To: ZSH User List Subject: strange alias effects Message-ID: <20000529115637.A26887@br-online.de> Mail-Followup-To: ZSH User List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i X-PGP-GPG-Keys: finger pgp.andy@spiegl.de OR mail -s "send pgp" auto@spiegl.de I just upgraded to 3.1.7-pre-4 and found something strange: In my dot-files I've got this (among others): alias psl='ps -eo user,pid,ppid,cpu,pmem,rss,vsize,bsdtime,bsdstart,cmd --sort user,pid | \grep -v "bsdtime,bsdstart"' alias pslS='ps -eo user,pid,ppid,cpu,pmem,rss,vsize,bsdtime,bsdstart,cmd --sort -size | \grep -v "bsdtime,bsdstart"' look.for () { psl | \grep -iE "(^USER|$@)" | \grep -v "grep -iE" } alias lookall='psl | grep -vE "(^($USERNAME|root|bin))|login"' When I type look.for ssh-agent I get: look.for: command not found: psl "lookall" works as usual. After typing look.for () { psl | \grep -iE "(^USER|$@)" | \grep -v "grep -iE" } on the shell prompt, it works. Can anyone explain this to me, please? Thanks, Andy. -- E-Mail: Andy@spiegl.de URL: http://andy.spiegl.de PGP/GPG: see headers o _ _ _ --------- __o __o /\_ _ \\o (_)\__/o (_) ------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ ------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~