Do not display long line with awk: usage with IPython notebooks

IPython notebook embeds image in the .ipynb file which produces huge lines. It’s not convenient to display the raw text in a terminal. Awk can be used to filter the display:

awk 'length($0)<1000' myfile.ipynb | less

With this command you won’t display line with more than 999 characters.

If you want to ask me a question or leave me a message add @bougui505 in your comment.