The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: why
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-26-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,127
The problem is that you are using a poor shell. Fix the problem by switching to a better shell.


Code:
$ ksh
$ echo '\n\t'"No disk capacity more than 80%" '\n'

        No disk capacity more than 80%

$ csh
%echo '\n\t'"No disk capacity more than 80%" '\n'
\n\tNo disk capacity more than 80% \n
%

See? It works when I use ksh and it fails with csh.