The following lines were added (+) and removed (-):
== Determine length of longest line in a text file ==Use wc wc -L filenameor use a shell script #!/bin/sh MAX=0 IFS= while read -r line; do if [ ${#line} -gt $MAX ]; then MAX=${#line}; fi done < "$1" printf "$MAX\n"