However, Excel is also a useful tool for text manipulation. (however, you are limited to working with chunks of the file that are no more than 65,000 lines long)
But as far as this issue, there must be some way built-into the os? I'm not even sure how to search the man pages for this because it's such a broad topic and there so many commands.