perl -e 'open(FILE, $ARGV[0]); print sort ' text