| 
       
       
             | 
              | 
            
            
            
              
             
             
               
               
               
                  | 
                 
UGU: Unix Guru Universe - Unix Tip #4258- October  8, 2012
 -  Home : Help
 : Today's Tip
 Unix Tip #4258- October  8, 2012
 
ANOTHER DOS ^M Solution FOR SCO  
  
If you deal with DOS files and the  
"^M" character always appears at  
the end of the line, here is a command  
provide in SCO-UNIX.  
  
dtox -- change file format from MS-DOS to UNIX  
  
>From a Unix shell use the command:  
  
dtox filename > output.file  
  
Other flavers have similar commands:  
dos2unix or to_unix  
  
Check your man pages ont he flavor you use.  
If you have whatis set up. Use a  
  
man -k dos  
  
  
 NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.
  
LAST 5 TIPS
 4257
 - DEALING WITH TOO MANY FILES
 4256
 - GET YOUR IP-ADDRESS
 4255
 - BACKUP INDEX LOCATIONS
 4254
 - DELETING BLANK LINES USING GREP
 4253
 - THE BAD AND THE GOOD 
 
I want to 
 SUBSCRIBE
 and get a UGU Tip everyday. 
I want to 
 UNSUBSCRIBE
 and NOT get a UGU Tip everyday.
 
If you have a UNIX TIP let us know, we just may use it:
(All tips become the property of the Unix Guru Universe)
                 
                  | 
                
                
                | 
                
               
                 |   | 
                
               
                   Copyright 1994-2024 Unix Guru Universe    | 
                
                
                | 
              
              
              | 
              | 
            
            
           
             |