[ale] FAQ alert: Losing ^M

Randolph C. Karrh randy at newriverplt.com
Tue May 7 20:57:39 EDT 2002


Michael:

This is excellent!

Randy


On Tue, 7 May 2002 16:42:23 -0400
"Michael D. Hirsch" <mdhirsch at mail.com> wrote:

> Joseph A Knapka writes:
>  > Can someone please remind me of the name of the
>  > "translate character" command? I need to lose carriage
>  > returns from a file I brought over from a Winders box.
> 
> The best solution I know is to install recode.  Then put these two
> aliases in your .bashrc:
> 
> alias dos2unix='recode ibmpc..lat1'
> alias unix2dos='recode lat1..ibmpc'
> 
> recode can do a heck of a lot more recodings than these two.
> 
> --Michael
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.


-- 
Randolph C. Karrh Jr.
			"May the world work for you and not against you!"

randy at newriverplt.com       843.684.3874(mobile)
Newriver Plantation         843.784.6033(work)
P.O. Box 1105		    843.784.6232
Hardeeville, SC. 29927



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list