+++ Mayuresh Kathe [linux-india] <18/12/01 00:20 +0530>:
> But on opening the file (less) in Linux it showed a lot of ^M 
> characters and it looked very messy, my client (Aileron) refused to 
> recognise the file.
> Is there any script I can run to bring things back to normal?

dos2unix perhaps?  Plenty of other alternatives, all available in LOST.

-- 
Suresh Ramasubramanian  <---->  mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
####[ Linux One Stanza Tip (LOST) ]###########################
 Sub : DOS to Unix conversion (#2)                    LOST #049
Method #2: using recode (if installed)
To convert a DOS text file to Unix so that the extra ASCII 13
does not show up, you can add the  following  in /etc/profile
or .profile (IF recode package is installed ...)
alias unix2dos='recode lat1..ibmpc'
alias dos2unix='recode ibmpc..lat1'
####<[EMAIL PROTECTED]>#####################################

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to