Jan 18, 2004 #1 TanyaB Programmer Aug 15, 2001 18 IL Hi, In tcsh you can define alias with "!*" - command-line args. How can I do the same in ksh ?
Hi, In tcsh you can define alias with "!*" - command-line args. How can I do the same in ksh ?
Jan 18, 2004 #2 comtec17 Vendor Jun 18, 2002 2,338 US Hope this helps. http://www.mkssoftware.com/docs/man1/alias.1.asp Upvote 0 Downvote
Jan 18, 2004 #3 aigles Technical User Sep 20, 2001 464 FR In KSH you cannot include arguments in an alias definition like in TSH or CSH. Instead of an alias, define a function : for example : lsl() # list last created files { ls -ltr "$@" | head } Jean Pierre. Upvote 0 Downvote
In KSH you cannot include arguments in an alias definition like in TSH or CSH. Instead of an alias, define a function : for example : lsl() # list last created files { ls -ltr "$@" | head } Jean Pierre.