The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 04-25-2007
cursive cursive is offline
Registered User
 

Join Date: Apr 2007
Posts: 6
Hi Anbu23,

I am not sure if I missing something here by using the given solution :
tr -d "\000-\037\177" < file because the output is still contained the control
character.

Provided a sample of the input file :
-------------------------------------------------
Monday Tuesday Wednesday
Thursday Friday
Saturday 
Sunday
Number = 0.36")· )

Apple orange
Pinapple


Output file ( display lines with control character ):
---------------
>Monday Tuesday Wednesday
>Saturday 
>Number = 0.36")· )
>Apple orange
>


Thanks in advance,
cursive
Reply With Quote