Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: JROZYCKI AT ebmail DOT gdeb DOT com X-Lotus-FromDomain: GDYN To: "Jim Reisert" cc: cygwin AT cygwin DOT com Message-ID: <85256A86.0082A105.00@ebmail.gdeb.com> Date: Wed, 11 Jul 2001 19:48:34 -0400 Subject: Re: BASH syntax for passing command line to argument Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline make it a function in your .bashrc and remove the !* function newls () { ls -lrt | tail -7 } "Jim Reisert" on 07/11/2001 05:15:37 PM To: Jeff Rozycki/EB/GDYN AT GDYN cc: Subject: BASH syntax for passing command line to argument I saw your article on the web: http://sources.redhat.com/ml/cygwin/2001-05/msg00956.html I can't figure out how to convert the following cshrc alias to work with bash: asic1-bstn:~>alias new='ls -lrt !* | tail -20' asic1-bstn:~>new !*: No such file or directory My original CSH alias looked like: alias new='ls -lrt \!* | tail -20' but that doesn't work either. Please help, I would be grateful. - Jim -- Jim Reisert Voice: 978-983-0224 Terago Communications, Inc. Fax: 978-794-9845 1 Tech Drive, Suite 335 Email: Jim_Reisert AT terago DOT com Andover, MA 01810-2452 WWW: http://www.terago.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/