home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / admin / 6293 < prev    next >
Encoding:
Text File  |  1992-11-20  |  706 b   |  25 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!troutman
  3. From: troutman@athena.mit.edu (Joseph G Whelan III)
  4. Subject: Re: How to echo " character in a csh script???
  5. Message-ID: <1992Nov20.162736.10289@athena.mit.edu>
  6. Sender: news@athena.mit.edu (News system)
  7. Nntp-Posting-Host: barker-6-6.mit.edu
  8. Organization: Massachusetts Institute of Technology
  9. References:  <MEYER.92Nov19134651@ibsen.geomatic.no>
  10. Date: Fri, 20 Nov 1992 16:27:36 GMT
  11. Lines: 12
  12.  
  13. You wanted to know how to echo the " character in a shell script:
  14.  
  15. If you want to echo "hello" try this;
  16.  
  17. echo -n '"'
  18. echo -n hello
  19. echo '"'
  20.  
  21. Kinda obvious if you really think about it.
  22.  
  23.  
  24. -troutman
  25.