This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: bash-function
- To: hcd at studbox dot uni-stuttgart dot de
- Subject: Re: bash-function
- From: "$Bill Luebkert" <dbe at wgn dot net>
- Date: Sat, 12 Apr 1997 20:42:24 -0700
- CC: gnu-win32 at cygnus dot com
- Organization: DBE Collectibles
- References: <334F9ACE.57DC@studbox.uni-stuttgart.de>
- Reply-To: dbe at wgn dot net
Do Hung Cuong wrote:
>
> Hi Folk,
>
> Because alias under bash does not support parameter passing, I should
> realize this mechanism via a function.
> I put "ll() { ls -lF $1 | more }" in my .bashrc and hope, I can use this
^
Don't you want @ or $ instead of 1?
> function in such a context like "ll -a" or "ll *.C"
> In the second case I got only the first file listed.
> Is this a *-expansion problem ?
> Anyone with some ideas ?
HTH,
--
,-/- __ _ _ $Bill Luebkert
(_/ / ) // // DBE Collectibles
/ ) /--< o // // http://www.wgn.net/~dbe/
-/-' /___/_<_</_</_ Email: dbe@wgn.net
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".