[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Need help with a sed script
- Subject: [ale] Need help with a sed script
- From: greg.freemyer at gmail.com (Greg Freemyer)
- Date: Thu May 12 18:08:04 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