home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!lugb!misty!ccvj
- Newsgroups: comp.unix.shell
- Subject: Korn shell alias-argument processing
- Message-ID: <1992Nov23.225510.11974@lugb.latrobe.edu.au>
- From: ccvj@misty.latrobe.edu.au (Vicki Jordan)
- Date: Mon, 23 Nov 1992 22:55:10 GMT
- Sender: news@lugb.latrobe.edu.au (USENET News System)
- Organization: La Trobe University
- Lines: 17
-
- What is the Korn Shell equivalent of the following csh alias?
- alias dir 'ls -l \!* | more'
-
- I can do it using a script:
- ls -l $@ | more
-
- but I can't work out how to get the arguments substituted on the ls not
- the more from the command line.
-
- Thanks ...
-
- Vicki Jordan
- --
- Vicki Jordan ccvj@misty.latrobe.edu.au
- Computing Services
- La Trobe University
- Bundoora Vic 3083 Australia
-