rickyr
asked on
Samba and ^M at the end of each line???
Hi...
Does anyone know the Conf setting to filter
^M from the end of lines in a text file when sending over the network.
regards
Does anyone know the Conf setting to filter
^M from the end of lines in a text file when sending over the network.
regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanx both!
:% s/^M//g
where you type ^M as Ctrl-V followed by return.
rickyr, this is not a samba problem, but one of the file format and/or the program your're using to look at the file. Most newer vi versions have a
set textmode
to do this conversion automatically.
Also check if you have dos2unix, d2u, or equivalent.