1

String Manipulation in a text file

view story
linux-howto

http://www.unix.com – Hi I have a requirement to write a script but not sure which is the best way to approach this I have not worked in sed but I'm aware that its robust for file extraction requirements I have a scripting task. I already developed the code in perl but the script is taking almost 2 mins for execution . (Input file size is almost 5 MB). I believe this can be done in a better way using awk or sed. Which is the best way to approach this ? Expecting expert advise from the awk and sed gurus here Requirement in Detail: a) Capture all the Ticket IDs from a text file in a linux box (HowTos)