home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / shell / 3529 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.0 KB

  1. Path: sparky!uunet!autodesk!dansmith
  2. From: dansmith@Autodesk.COM (Daniel Smith)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: csh echo newlines
  5. Message-ID: <17514@autodesk.COM>
  6. Date: 19 Aug 92 18:31:28 GMT
  7. References: <1992Aug19.031613.7662@usenet.ins.cwru.edu> <1992Aug19.041937.14932@novell.com>
  8. Distribution: na
  9. Organization: Autodesk Inc., Sausalito CA, USA
  10. Lines: 19
  11.  
  12. In <1992Aug19.041937.14932@novell.com> tporczyk@novell.com (Tony Porczyk) writes:
  13.  
  14. > wb8foz@skybridge.SCL.CWRU.Edu (David Lesher) writes:
  15.  
  16. > >How do I get a csh echo statement to output a newline?
  17. > >All the book examples talk about supressing them. I want one!
  18.  
  19. > echo ""
  20.  
  21.     And if you want a lot of them, try:
  22.  
  23.     echo 'line 1=line 2=line 3' | tr '=' '\015'
  24.  
  25.                 Daniel
  26. -- 
  27.             dansmith@autodesk.com            dansmith@well.sf.ca.us
  28.         Daniel Smith, Autodesk, Sausalito, California, (415) 332-2344 x 2580
  29.               Disclaimer: written by a highly caffeinated mammal
  30.  $|=1;for("..."," hacker"," perl"," a","just"){print $l=$_.$l,"\015";sleep 1;}
  31.