#!/bin/bash # Created: 2015-02-21 awk -F"\n" '{ print length, $0 }' | sort -n | cut -d" " -f2-