Daily Archives: November 26, 2012

Extracting lines ending with specific character using sed or grep

A quick note (to myself mostly) about how to extract lines from a text file that end with a specific set of characters. In Linux, you can very easily do this using ‘grep’ or ‘sed’. But, first a little bit … Continue reading

Posted in Data handling, tools | Tagged , , , , , , , | Leave a comment