home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / shell / 3108 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!ftpbox!motsrd!white!sapphire.rtsg.mot.com!beryl17!yeates
  3. From: yeates@rtsg.mot.com (Tony J Yeates)
  4. Subject: Re: tcsh in the future - what should it be like?
  5. Message-ID: <yeates.711917192@beryl17>
  6. Keywords: tcsh
  7. Sender: news@rtsg.mot.com
  8. Nntp-Posting-Host: beryl17
  9. Organization: Motorola Inc., Cellular Infrastructure Group
  10. References: <yeates.711122638@beryl17> <2$71H9anf8@atlantis.psu.edu> <1992Jul15.022342.5243@news.eng.convex.com>
  11. Distribution: comp.unix.shell
  12. Date: Thu, 23 Jul 1992 18:46:32 GMT
  13. Lines: 25
  14.  
  15. Tom Christiansen <tchrist@convex.COM> writes:
  16.  
  17. >From the keyboard of barr@darwin.psu.edu (David Barr):
  18. >:Has anyone thought of getting rid of some of csh's limitations,
  19. >:like adding sh's '1>', '2>' redirects?
  20.  
  21. That would be an improvement.  Did you know the (rather tedious)
  22. work around for this?
  23.  
  24. First redirect stdout, then redirect both stdout (now eliminated)
  25. and stdout.  e.g. to "loose" stderr and retain stdout:-
  26.  
  27.     ( command > /dev/tty ) >& /dev/null
  28.  
  29. >There are so so many limitations.  I just don't think it
  30. >feasible to try to take care of all of them.  
  31.  
  32. Could be true.  Problem is, I keep coming across new csh scripts
  33. ....it may to a generation or so to see them disappear!! ;^)
  34.  
  35.  
  36. [I'm teaching my intern how to convert csh scripts to ksh,
  37. to simplify future maintenance .... perhaps this should become a quest
  38. for this news group!  ;^) ]
  39.  
  40.