https://unix.stackexchange.com/questions/42898/find-any-lines-exceeding-a-certain-length Get lines exceeding a certain length. grep '.\{80\}' file perl -nle 'print if length$_>79' file awk 'length>79' file sed -n '/.\{80\}/p' file Get the max length line wc -L brake_input.model.dat Get nth line: sed 'NUMq;d' file If you have NUM in a variable, you will want to use double quotes instead of single: sed "${NUM}q;d" file https://stackoverflow.com/questions/6022384/bash-tool-to-get-nth-line-from-a-file Assuming you need lines 20 to 40, sed -n '20,40p;41q' file_name => not work as expected or awk 'FNR>=20 && FNR<=40' file_name This one work: sed -n -e '10,100p' input.txt > output.txt https://gist.github.com/simofacc/061aaf189a559a0817bf https://stackoverflow.com/questions/13294341/create-slug-to-include-id-and-title-when-insert-record-php-mysql CREATE TRIGGER trigger_name BEFORE INSERT ON tab...
Some tribes of the programmer clan.