home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16476 < prev    next >
Encoding:
Text File  |  1992-11-12  |  942 b   |  28 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!clarkson!chengb
  3. From: chengb@craft.camp.clarkson.edu (Bruce)
  4. Subject: Bash help
  5. Message-ID: <chengb.721589790@craft.camp.clarkson.edu>
  6. Sender: news@news.clarkson.edu
  7. Nntp-Posting-Host: logic.camp.clarkson.edu
  8. Organization: Clarkson University
  9. Date: Thu, 12 Nov 1992 17:36:30 GMT
  10. Lines: 16
  11.  
  12. Hi, I need to know how to get a type of alias to work in bash:
  13.  
  14. like in csh, you can do: alias dir 'ls -laF \!* |more'
  15.     to pass the parameter
  16. in bash, I tried: alias dir='ls -laF $* |more'
  17. and it wouldn't take the parameter correctly.
  18.  
  19. BTW, is there CSH port to Linux?
  20.  
  21. thanks,
  22. Bruce
  23. --
  24. /--------------------------------------+--------------------------------------\
  25. |  chengb@craft.camp.clarkson.edu      | * Drama is life with the dull        |
  26. |  Home Phone: (315) 268-7798          |   bits cut out. - Alfred Hitchcock   |
  27. \--------------------------------------^--------------------------------------/
  28.