[olug] something sed, nothing gained
Mike McNally
mmcnally3 at prodigy.net
Fri Dec 29 04:47:28 UTC 2000
Thanks George, that works. Say, where do you look to find keybrd
translation stuff like this? ^M = ctrl-v <enter>
found this: perl -pe s/\r//
Using this saves one from having to remember that \r is ctrl-m which is
ctrl-v.
On Thu 28 Dec 2000, George Neill wrote:
> sed -e s/^M//g file > someotherfile ( ^M = [control-v][Enter] )
>
> also works nice in Vi(m).
>
> :%s/^M//g
>
>
> Hopefully something gained now ... :)
> George.
--
Mike McNally mmcnally3 at prodigy.net
---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net
More information about the OLUG
mailing list