mirror of
https://github.com/notwa/rc
synced 2024-11-10 11:39:04 -08:00
fix dumb typo
This commit is contained in:
parent
7c0d171f08
commit
227ec01a25
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
# YES_ASH
|
||||
|
||||
### @ 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
|
||||
scount() {
|
||||
|
@ -15,7 +15,7 @@ if "$HOME/sh/witch" gawk >/dev/null 2>/dev/null; then
|
|||
else
|
||||
scount() {
|
||||
argc $# -le 1 scount || return
|
||||
sort -- "$@" | unic -c | sort -n
|
||||
sort -- "$@" | uniq -c | sort -n
|
||||
}
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue