#!/bin/sh if [ $# -ne 0 ]; then echo 'usage: reverse' exit 1 fi cat -n | sort -nr | sed 's/.......//'