Linux CLI Text Processing