home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / shell / 4626 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.4 KB  |  42 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!infonode!ingr!dazixcon!guinness!coy
  3. From: coy@guinness.NoSubdomain.NoDomain (Coy Correll)
  4. Subject: Re: echo question
  5. Message-ID: <1992Nov10.140436.4932@dazixco.ingr.com>
  6. Sender: coy@guinness (Coy Correll)
  7. Nntp-Posting-Host: guinness
  8. Organization: Dazix - An Intergraph Company
  9. References:  <1992Nov9.171618.5675@midway.uchicago.edu>
  10. Date: Tue, 10 Nov 1992 14:04:36 GMT
  11. Lines: 29
  12.  
  13. In article <1992Nov9.171618.5675@midway.uchicago.edu>, a-douglas@uchicago.edu (Allen Douglas) writes:
  14. |> I would like to echo tab and line return characters to the screen and/or 
  15. |> understandto a file. But I must not the escaping/quoting mechanism.  According
  16. |> to my UNIX reference I should be able to type:
  17. |> 
  18. |> quads% echo Bob'\t\t'cat
  19. |> and get:
  20. |> Bob        cat
  21. |> 
  22. |> unfortunately I get:
  23. |> quads% echo Bob'\t\t'cat
  24. |> Bob\t\tcat
  25. |> 
  26. |> What  gives?  Thanks in advance!
  27.  
  28. The syntax you are using is for sys5 only.   If you are on a
  29. sparcstation, you can type /usr/5bin/echo to get the desired
  30. results.  This is fully explained in the man page for echo 
  31. on sparcstations.
  32.  
  33. |> 
  34. |> Allen
  35.  
  36. -- 
  37. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  38. Coy Correll                      e-mail: ccorrell@dazixco.ingr.com
  39. Intergraph                     my phone: (303) 581-2389
  40. 6095 Spine Road                     fax: (303) 581-9972
  41. Boulder, Colorado 80301   company phone: (303) 581-2300
  42.