home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / wizards / 5324 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.4 KB  |  44 lines

  1. Newsgroups: comp.unix.wizards
  2. Path: sparky!uunet!think.com!ames!pacbell.com!rtech!ingres!jonm
  3. From: jonm@Ingres.COM (Don't Judge a book by your cover)
  4. Subject: Re: sh/csh interpretation of backquotes
  5. Message-ID: <1992Dec23.095239.2003@pony.Ingres.COM>
  6. Summary: 
  7. News-Software: VAX/VMS VNEWS 1.41    
  8. Keywords: 
  9. Organization: University of Arizona MIS Department - Mosaic Group
  10. References: <1992Dec17.174208.28328@mfltd.co.uk>
  11. Date: 23 Dec 92 09:52:39 GMT
  12. Lines: 30
  13.  
  14. In article <1992Dec17.174208.28328@mfltd.co.uk>, sml@mfltd.co.uk (Shaun Lowry) writes...
  15. >Can anyone tell me why 
  16. >$ echo `tput bold`
  17. >works in sh and ksh, but not in csh?
  18. >-- 
  19.  
  20. csh gets confused by the unquoted ESC?  If you put the whole argument in ""'s
  21. it will work
  22.     echo "`tput bold`"
  23.  
  24.     try resetting this with 
  25.  
  26.     echo "^[[0m"
  27.  
  28.     and see how this compares with 
  29.  
  30.     echo ^[[0m
  31.  
  32. +---------------------------------------------------------------------------+
  33. |Jon Machtynger (jonm@ingres.com)                                           |
  34. |Ingres Technology Centre. Wharfedale Rd,                                   |
  35. |Winnersh, Wokingham. Berks UK.   (0734)-496525                             |
  36. +---------------------------------------------------------------------------+
  37. | Ahhh Brisbane, people actually get paid to work there... in the sun with  |
  38. | all that fresh air and cheap petrol.... Or so legend has it               |
  39. +---------------------------------------------------------------------------+
  40.