shell-scripte-code/sort.sh

3 lines
73 B
Bash
Raw Normal View History

2019-01-07 20:23:02 +01:00
#!/usr/bin/env bash
2017-12-28 18:42:17 +01:00
for i in $(cat $1) ; do echo $i ; done | sort | uniq