From: hcd AT studbox DOT uni-stuttgart DOT de (Do Hung Cuong) Subject: bash-function 12 Apr 1997 15:16:27 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <334F9ACE.57DC.cygnus.gnu-win32@studbox.uni-stuttgart.de> Reply-To: hcd AT studbox DOT uni-stuttgart DOT de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01Gold (WinNT; I) Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com 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 AT studbox DOT uni-stuttgart DOT de _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/ _/_/_/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".