[ale] Need help with a sed script

Greg Freemyer greg.freemyer at gmail.com
Thu May 12 18:08:04 EDT 2005


I don't use sed very often, does anyone know how to shift the first 2
chars of every line to chars 5 & 6.

In otherwords if I have lines like:

123456rest of line.

I need it to be:

345612rest of line.

PS: Any tool can be used, but I have 80,000 lines to modify in a
single file, and sed is the only tool I know for the job.

Thanks
Greg
-- 
Greg Freemyer
The Norcross Group
Forensics for the 21st Century



More information about the Ale mailing list