home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / shell / 3570 < prev    next >
Encoding:
Text File  |  1992-08-22  |  1.1 KB  |  34 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!princeton!phoenix.Princeton.EDU!qpliu
  3. From: qpliu@phoenix.princeton.edu (q.p.liu)
  4. Subject: Re: csh echo newlines
  5. Message-ID: <1992Aug22.223900.28576@Princeton.EDU>
  6. Originator: news@nimaster
  7. Sender: news@Princeton.EDU (USENET News System)
  8. Nntp-Posting-Host: phoenix.princeton.edu
  9. Reply-To: qpliu@princeton.edu
  10. Organization: Princeton University
  11. References: <1992Aug19.041937.14932@novell.com> <17514@autodesk.COM> <1992Aug22.193400.14637@Princeton.EDU>
  12. Distribution: na
  13. Date: Sat, 22 Aug 1992 22:39:00 GMT
  14. Lines: 18
  15.  
  16. In article <1992Aug22.193400.14637@Princeton.EDU> rtbunker@tan.Princeton.EDU (Ross T. Bunker) writes:
  17.  
  18. >>> wb8foz@skybridge.SCL.CWRU.Edu (David Lesher) writes:
  19. >>> >How do I get a csh echo statement to output a newline?
  20.  
  21. >i do it this way in sh
  22.  
  23. That's csh, not sh.
  24.  
  25. > ( echo "blah"; echo "blah"; echo "blah" ) | whatever cmd.
  26.  
  27. Yuck!  For sh, what's wrong with:
  28.  
  29. echo "asdf
  30. l;kj
  31. asldkfj" | whatnot
  32. -- 
  33. qpliu@princeton.edu           Standard opinion: Opinions are delta-correlated.
  34.