forked from rrthomas/syms
-
Notifications
You must be signed in to change notification settings - Fork 0
mhl/occurs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
occurs ====== `occurs` finds the number of occurrences of each symbol (where "symbol" can be defined flexibly enough to be words, identifiers or XML tags), and list them sorted lexically or by frequency, with or without the frequency and total number of distinct symbols. unique: occurs -n -l "^" -r "$" -s ".*" "$@" sort lexically: occurs "$@" | sort sort by frequency: occurs "$@" | sort -n -k 2
About
Count occurrences of each symbol in a file
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 33.5%
- Go 23.8%
- Lua 16.3%
- Python 16.3%
- Ruby 7.6%
- Shell 2.5%