Sll – strip long lines from grep output
github.com
github.com
perl -ne 'print if length()<1024'
awk 'length($0)<1024'
Note that if the last line is not newline terminated then the sll and the awk solutions will add a newline, while the perl one will not. perl -lnE 'say if length()<1024'