home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / shell / 5234 next >
Encoding:
Text File  |  1993-01-04  |  1.6 KB  |  40 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!jefouger
  3. From: jefouger@nyx.cs.du.edu (Jim  Fougeron)
  4. Subject: Re: alias probem in tcsh and csh
  5. Message-ID: <1993Jan4.083056.28381@mnemosyne.cs.du.edu>
  6. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  7. Organization: University of Denver, Dept. of Math & Comp. Sci.
  8. References: <1993Jan3.181726.3147@mnemosyne.cs.du.edu>
  9. Date: Mon, 4 Jan 93 08:30:56 GMT
  10. Lines: 28
  11.  
  12. rduta@nyx.cs.du.edu (Radu) writes:
  13.  
  14. >I was trying to create some aliases for ls, and i ran into some minor
  15. >problems, well for starters i'll list my aliases:
  16. >alias ls 'ls -F \!* | more'
  17. >alias dir 'ls -aol '
  18.  
  19. >Ok, her's are the problems: I'd like to put a "more" in the dir alias as well,
  20. >but it conflicts with the ls, and the space bar doesn't work for paging any
  21. >more.  The second probelm i encountered was doing something like "ls m*", it
  22. >listed all the files, then went ahead and started to list the contents of the
  23. >files, as thought I did a "more m*".  I'm not sure what the problem is so
  24. >if anyone has any ideas on what is going wrong or ways to solve the problem
  25. >please let me know. 
  26. >(i'd like to add the "\!*" to the dir alias as well)
  27.  
  28. try this for dir:  alias dir '/bin/ls -aol \!* | more'
  29.  
  30. >radu
  31.  
  32. >--
  33. >********************************************************************************
  34. >I only kill to know I'm alive!
  35. --
  36. ----------------------------  ^  What is the TRUE meaning of happiness?  ^
  37. |       Jim Fougeron       |   ^      Is it money, cars and women,      ^
  38. |  jefouger@nyx.cs.du.edu  |    ^        or just money and cars        ^
  39. ----------------------------     ^       - Calvin and Hobbes. -       ^
  40.