Line 1: Length 300 CharactersI would like to use grep or another suitable tool to look for (and print) lines not based on some pattern, but on the length.
Line 2: Length 120 CharactersAssume I have a file that contains two lines, where
- Line 1: length = 300 characters
- Line 2: length = 120 characters
Output: Only LineI am looking for a command that would only output line 2.