The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 05-14-2008
ozvena ozvena is offline
Registered User
 

Join Date: Jun 2005
Posts: 6
Thanks for your help, it works after I did this:

Code:
$  od -c A.lst
0000000   S   o   c   k   e   t  \r  \n
0000010
$ dos2unix A.lst A.lst
$  od -c A.lst
0000000   S   o   c   k   e   t  \n
0000007
The file was created under Win OS.
Reply With Quote