W.A.S.S to display all the words of a file in ascending order.
Program
# W.A.S.S to display all the words of a file in ascending order.
cat base.sh|tr -s " "|tr " " "\n"|tr -cd "[a-z][A-z][\n]"|sort
Output
base
base
bc
echo
echo
echo
echo
echo
Enter
Enter
Enter
i
ibaseiobaseox
input
no
no
o