Re:look(1): lines beginning with given string
by jzwinck on Saturday December 12, 2015 @08:41PM
(#10725048)
The universe of Unix filters never ceases to turn up things I haven't seen before. Other examples for those inclined: tac, sponge, pv, join, paste.
[ Parent
| on HN ]
Re:look(1): lines beginning with given string
by ryan-c on Saturday December 12, 2015 @09:08PM
(#10725120)
Some others I like:
rev, vipe, comm, bfr, xxd
Re:look(1): lines beginning with given string
by lappa on Saturday December 12, 2015 @09:55PM
(#10725215)
Do you know of a good resource listing all of these?
Re:look(1): lines beginning with given string
by kevinoid on Saturday December 12, 2015 @10:31PM
(#10725308)
The standardized ones are described in the Shell & Utilities section of POSIX:2008/SUSv4 online at http://pubs.opengroup.org/onlinepubs/9699919799/
Re:look(1): lines beginning with given string
by jph on Saturday December 12, 2015 @11:04PM
(#10725385)
Yes, Num command has a quick list: http://www.numcommand.com/doc/helpers.html
Re:look(1): lines beginning with given string
by dap on Saturday December 12, 2015 @10:27PM
(#10725299)
`ls /usr/bin/?? /usr/bin/???` can be interesting to skim through.
Re:look(1): lines beginning with given string
by cfcef on Saturday December 12, 2015 @10:48PM
(#10725353)
In the same vein of 'improvements over things everyone assumes you have to do with the more famous tool', we could say grep '^string' : look :: sort -R : shuf
Re:look(1): lines beginning with given string
by nhaehnle on Saturday December 12, 2015 @11:11PM
(#10725395)
Thanks to @climagic on Twitter, I recently learned that sort -R and shuf are not in fact the same thing. (sort -R doesn't actually shuffle...)