On Sat, 22 Nov 2003 10:44:30 -0500, Scott W <[EMAIL PROTECTED]> wrote:
> Jerry McAllister wrote:
> >
> >So why not just use tr?      \t should get tabs, as you noted \r gets
> >CRs I don't know linefeed off hand, but wouldn't be surprised if it was
> >\l. It follows the usual conventions.
> >
> >There are more things besides -d that you can do with tr also.
> 
> You can do what you want in vi or sed, you just need to escape the first 
> escape character, eg
> sed -i s/\\r//g
> vi:
> :/s/\\r//g
> 
> Note that with your tr string, you're already 'wrapping' the backslash-r 
> in double quotes, thereby avoiding shell expansion..
> 
> You can also use the dos2unix command, although I don't see it in
> ports...
> 

converters/unix2dos

-- 
Robin Schoonover (aka End)
#
# The only cure for insomnia is to get more sleep.
#
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to