~johanvandegriff/unix-shell-programming-revised-edition-programs

unix-shell-programming-revised-edition-programs/g -rw-r--r-- 151 bytes
fc214385Johan Vandegriff added other old scripts, some newer ones too 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
opts=""
while getopts abc opt
do
  if [ "$opt" != '?' ]
  then
    opts="$opts $opt"
  fi
done
for opt in $opts
do
  echo "$opt"
done | sort