-
-
Notifications
You must be signed in to change notification settings - Fork 1
Count occurrences of each symbol in a file
License
rrthomas/syms
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
syms ==== `syms' lists symbols in its input (where "symbol" can be defined flexibly enough to be words, identifiers or XML tags). unique symbols, sorted lexically: syms "$@" | sort | uniq number of unique symbols: syms "$@" | sort | uniq | wc -l unique symbols, sorted by frequency: syms "$@" | sort | uniq -c | sort -n -k 2 unique lines (like uniq, but not just adjacent lines): syms -s "^(.*)$" "$@"
About
Count occurrences of each symbol in a file
Resources
License
Security policy
Stars
Watchers
Forks
Packages 0
No packages published