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
Another way to do this using awk:
cat file | awk 'length($0) > 120'