home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!think.com!ames!pacbell.com!rtech!ingres!jonm
- From: jonm@Ingres.COM (Don't Judge a book by your cover)
- Subject: Re: sh/csh interpretation of backquotes
- Message-ID: <1992Dec23.095239.2003@pony.Ingres.COM>
- Summary:
- News-Software: VAX/VMS VNEWS 1.41
- Keywords:
- Organization: University of Arizona MIS Department - Mosaic Group
- References: <1992Dec17.174208.28328@mfltd.co.uk>
- Date: 23 Dec 92 09:52:39 GMT
- Lines: 30
-
- In article <1992Dec17.174208.28328@mfltd.co.uk>, sml@mfltd.co.uk (Shaun Lowry) writes...
- >
- >Can anyone tell me why
- >
- >$ echo `tput bold`
- >
- >works in sh and ksh, but not in csh?
- >
- >--
-
- csh gets confused by the unquoted ESC? If you put the whole argument in ""'s
- it will work
- echo "`tput bold`"
-
- try resetting this with
-
- echo "^[[0m"
-
- and see how this compares with
-
- echo ^[[0m
-
- +---------------------------------------------------------------------------+
- |Jon Machtynger (jonm@ingres.com) |
- |Ingres Technology Centre. Wharfedale Rd, |
- |Winnersh, Wokingham. Berks UK. (0734)-496525 |
- +---------------------------------------------------------------------------+
- | Ahhh Brisbane, people actually get paid to work there... in the sun with |
- | all that fresh air and cheap petrol.... Or so legend has it |
- +---------------------------------------------------------------------------+
-