home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5188 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  601 b 

  1. Path: sparky!uunet!olivea!spool.mu.edu!umn.edu!csus.edu!netcom.com!kasajian
  2. From: kasajian@netcom.com (Kenneth Kasajian)
  3. Newsgroups: comp.unix.shell
  4. Subject: shell
  5. Keywords: shell
  6. Message-ID: <1992Dec30.150828.24430@netcom.com>
  7. Date: 30 Dec 92 15:08:28 GMT
  8. Organization: Netcom - Online Communication Services  (408 241-9760 guest)
  9. Lines: 6
  10.  
  11. I'd like to have a shell program (using c-shell) called "dir" that works
  12. like ls -l -F so I created a file called dir with the exec attribute with
  13. the following contents:
  14. ls -l -F $1
  15. but the $1 doesn't expand wildcards properly.  What am I doing wrong?
  16. Kenny
  17.