home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!microsoft!wingnut!russsan
- From: russsan@microsoft.com (Russell Sanchez)
- Subject: How to do csh-like alias in ksh?
- Message-ID: <1992Dec24.022550.8880@microsoft.com>
- Date: 24 Dec 92 02:25:50 GMT
- Organization: Microsoft Corporation
- Distribution: pnw
- Lines: 9
-
- Is there any way to do a csh-like 'bang' in ksh aliases? I'm basically
- trying to do alias substitution (including parser metasyntax if possible).
- For example, I want to convert the csh alias...
- alias ff 'find . -name /!* -print'
- ...to ksh, something like...
- alias ff='find . -name ???? -print'
- ...but what is the ????. ksh doesn't seem to parse commands like csh.
-
- Russ
-