News for hackers. Stuff that matters.
Re:2000x performance win by wollw on Saturday December 10, 2011 @04:52PM (#3338597)
When the author shows the output of "which grep" it shows the path "/opt/local/bin/grep"; "/opt" is typically for additional installations of software. I haven't used SmartOS myself but my best guess is someone installed GNU grep manually and the PATH just included "/opt/local/bin" before "/usr/bin".
Re:2000x performance win by pdw on Saturday December 10, 2011 @06:16PM (#3338759)
I guess SmartOS reserves /usr for the Solaris base install and puts additions in /opt/local. If you look at http://wiki.joyent.com/display/jpc2/SmartOS+Smartmachine+Dat... and click "to see list of installed software", it includes grep 2.5.3.