Awksome: Wraping text to 80 characters

This little awk snippet wraps textlines longer than 80 characters and prepends a single blank to the wrapped content. awk ‘{textlength=int(length($0)/70) ; i=1 ; \ if (length($0)>72) { \ { print substr($0,0,70) } \ while (i< =textlength) { { print ”...