Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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 "^(.*)$" "$@"