Best way to do text processing in linux/mac ?

Posted by euphoria83 on Stack Overflow See other posts from Stack Overflow or by euphoria83
Published on 2010-03-15T06:43:56Z Indexed on 2010/03/15 6:49 UTC
Read the original article Hit count: 263

Filed under:
|
|

I generally need to do a fair amount of text processing for my research, such as removing the last token from all lines, extracting the first 2 tokens from each line, splitting each line into tokens, etc.

What is the best way to perform this ? Should I learn Perl for this? Or should I learn some kind of shell commands? The main concern is speed. If I need to write long code for such stuff, it defeats the purpose.

© Stack Overflow or respective owner

Related posts about text-processing

Related posts about shell