One of the handy sed web portal
http://sed.sourceforge.net/sed1line.txt
Friday, June 25, 2010
^M Issue or CTRL + M
Hi
Most of the time ^M will bug in one or other way.Few quick commands which we may forget frequently.
To List out ^M from a flat file
sed -n '/^M/p'
Note: Always type ^M as CTRL + V and CTRL +M
Most of the time ^M will bug in one or other way.Few quick commands which we may forget frequently.
To List out ^M from a flat file
sed -n '/^M/p'
Note: Always type ^M as CTRL + V and CTRL +M
Subscribe to:
Posts (Atom)