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