Allen Pomeroy

Blog of an IT security specialist

Using tr to emulate dos2unix

Tags:

As pointed out in many postings and sites, one can use tr to remove octal 015 (^M or CR)

tr -d '\015' < oldfile > newfile

Super powers that people wished they had…

Tags:

Well, been working way too hard, so here’s a bit of a humour break.  The graph below shows the results of a user poll “What super-power do you wish you had”…

superpowers

Thanks to Adam B for the tip!

© 2010 Allen Pomeroy. All Rights Reserved. This is the personal website of Allen Pomeroy. Opinions expressed are not necessarily those of my employer.