delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
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" <Jim_Reisert AT terago DOT com> |
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 |
make it a function in your .bashrc and remove the !* function newls () { ls -lrt | tail -7 } "Jim Reisert" <Jim_Reisert AT terago DOT com> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |