home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!clarkson!chengb
- From: chengb@craft.camp.clarkson.edu (Bruce)
- Subject: Bash help
- Message-ID: <chengb.721589790@craft.camp.clarkson.edu>
- Sender: news@news.clarkson.edu
- Nntp-Posting-Host: logic.camp.clarkson.edu
- Organization: Clarkson University
- Date: Thu, 12 Nov 1992 17:36:30 GMT
- Lines: 16
-
- Hi, I need to know how to get a type of alias to work in bash:
-
- like in csh, you can do: alias dir 'ls -laF \!* |more'
- to pass the parameter
- in bash, I tried: alias dir='ls -laF $* |more'
- and it wouldn't take the parameter correctly.
-
- BTW, is there CSH port to Linux?
-
- thanks,
- Bruce
- --
- /--------------------------------------+--------------------------------------\
- | chengb@craft.camp.clarkson.edu | * Drama is life with the dull |
- | Home Phone: (315) 268-7798 | bits cut out. - Alfred Hitchcock |
- \--------------------------------------^--------------------------------------/
-