binana/script/sort-file

11 lines
No EOL
176 B
Bash

#!/usr/bin/env bash
# this script just collects symbols into one file for convenience
if [ $# -eq 0 ]
then
echo "Select a file"
exit 1
fi
awk 1 $1 | sort -k2 -t' '