1. Shell Programming and Scripting
I need a perl onliner which seaches a line starting with a pattern(last occurence) and display it.
grep 'pattern' filename | tail -1 in UNIX
Ex: I want to display the line starting with "cool" and which is a last occurence
cool dfadfadfadfara... (4 Replies)
Discussion started by: ammu