skip to main
|
skip to sidebar
Computer Tips and Tricks
Computers from Unix, Linux to Windows
Friday, December 4, 2009
Remove the CR character with sed or tr
Following command will redirect the content of dosfile except the CR characters to newfile:
sed 's/^V^M//' dosfile > newfile
Note: ^ is the control key.
tr -d '\015' < dosfile > newfile
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
►
2017
(2)
►
October
(2)
►
2016
(6)
►
December
(3)
►
November
(3)
►
2015
(11)
►
August
(3)
►
July
(2)
►
June
(3)
►
May
(1)
►
April
(1)
►
January
(1)
►
2014
(11)
►
December
(9)
►
October
(2)
►
2013
(8)
►
April
(5)
►
March
(1)
►
February
(2)
►
2011
(14)
►
September
(2)
►
June
(1)
►
April
(5)
►
March
(1)
►
February
(1)
►
January
(4)
►
2010
(9)
►
December
(1)
►
November
(2)
►
October
(2)
►
June
(2)
►
May
(1)
►
April
(1)
▼
2009
(46)
▼
December
(6)
Use iSCSI disk on Windows 2008
Don't use test as the name of your program in Unix...
Connect Ubuntu 9.10 to Remote systems with Window ...
Setup CruiseControl on CentOS 5.4
Remove the CR character with sed or tr
Solaris Disk Cloning with dd and cpio
►
October
(4)
►
September
(4)
►
August
(6)
►
July
(2)
►
June
(2)
►
May
(1)
►
April
(4)
►
March
(9)
►
February
(4)
►
January
(4)
►
2008
(5)
►
December
(5)
About Me
Patrick Wong
View my complete profile
No comments:
Post a Comment