home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:14736 comp.unix.shell:5088
- Path: sparky!uunet!ogicse!uwm.edu!rpi!crdgw1!rdsunx.crd.ge.com!ariel!davidsen
- From: davidsen@ariel.crd.GE.COM (william E Davidsen)
- Newsgroups: comp.unix.questions,comp.unix.shell
- Subject: Re: Redirection of the Echo command to other tty's
- Keywords: unix echo shell
- Message-ID: <1992Dec16.164113.17110@crd.ge.com>
- Date: 16 Dec 92 16:41:13 GMT
- Article-I.D.: crd.1992Dec16.164113.17110
- References: <1992Dec14.222553.22768@sactoh0.sac.ca.us>
- Sender: usenet@crd.ge.com (Required for NNTP)
- Reply-To: davidsen@crd.ge.com (bill davidsen)
- Organization: GE Corporate R&D Center, Schenectady NY
- Lines: 14
- Nntp-Posting-Host: ariel.crd.ge.com
-
- In article <1992Dec14.222553.22768@sactoh0.sac.ca.us>, dwj@sactoh0.sac.ca.us (Daniel W. James) writes:
-
- | Do I need to use echo "Line One\n\rLine Two" during redirection??? Or is
- | there some easier way (independent of redirection) to make sure the both
- | the CR/LF sequence is output?
-
- If the redirected device has the stty option onlcr set, a newline will
- imply a return. If not you need to set the option or provide the return.
- I might suggest that providing the return won't hurt if the option is
- set.
-
- --
- bill davidsen, GE Corp. R&D Center; Box 8; Schenectady NY 12345
- Keyboard controller has been disabled, press F1 to continue.
-