by copperx · 11y ago · 0 comments
Example (contrived):
$ seq 10 20 | paste -s -d +
10+11+12+13+14+15+16+17+18+19+20
$ seq 10 20 | paste -s -d + | bc
165
Or converting columns of strings into regex 'or' clauses for searching (contrived example again): $ cut -f 3 -d , something.csv | paste -s -d "|"
a|b|c|d|e|f
$ egrep "$(cut -f 3 -d , something.csv | paste -s -d "|")" another_file
... result lines appear here ... ls /usr/binThough it doesn't contain `units` either, here's a Wikipedia list of the standardized (IEEE 1003.1-2008) unix commands. http://en.wikipedia.org/wiki/List_of_Unix_commands