This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bash-function


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
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 ?

-- 
---
     _/  _/  _/_/  _/_/    Do Hung Cuong
    _/  _/ _/  _/ _/  _/   E-Mail: hcd@studbox.uni-stuttgart.de
   _/_/_/ _/     _/   _/
  _/  _/ _/     _/   _/
 _/  _/   _/_/ _/_/_/

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]