1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-01 15:33:07 -07:00

fix dumb typo

This commit is contained in:
Connor Olding 2022-09-01 18:36:57 -07:00
parent 7c0d171f08
commit 227ec01a25

View File

@ -5,7 +5,7 @@
# YES_ASH # YES_ASH
### @ scount ### @ scount
### perform `sort | unic -c | sort -n`, preferring GNU awk when available. ### perform `sort | uniq -c | sort -n`, preferring GNU awk when available.
if "$HOME/sh/witch" gawk >/dev/null 2>/dev/null; then if "$HOME/sh/witch" gawk >/dev/null 2>/dev/null; then
scount() { scount() {
@ -15,7 +15,7 @@ if "$HOME/sh/witch" gawk >/dev/null 2>/dev/null; then
else else
scount() { scount() {
argc $# -le 1 scount || return argc $# -le 1 scount || return
sort -- "$@" | unic -c | sort -n sort -- "$@" | uniq -c | sort -n
} }
fi fi