Nov 21
deleting mail in Unix
type mail
d * will remove all mail
d 1 3 deletes the 1st and 3rd messages
d 1-3 deletes messages 1 through 3
d deletes the current message
deleting mail in Unix
type mail
d * will remove all mail
d 1 3 deletes the 1st and 3rd messages
d 1-3 deletes messages 1 through 3
d deletes the current message
To remove the ^M characters at the end of all lines in vi, use:
:%s/^V^M//g
The ^v is a CONTROL-V character and ^m is a CONTROL-M. When you type this, it will look like this:
:%s/^M//g
Print