Issue
I want to get a list of lines in a batch file which are greater than 120 characters length. For this I thought of using sed. I tried but I was not successful. How can i achieve this ? Is there any other way to get a list other than using sed ?? Thanks..
Solution
Another way to do this using awk:
cat file | awk 'length($0) > 120'
Answered By - piokuc Answer Checked By - Robin (WPSolving Admin)