On Sun, Oct 11, 2015 at 8:41 PM, G B via oi-dev <oi-dev@openindiana.org> wrote:
> What are the versions of nawk and awk in 1003 OI Hipster? > Whatever the version of illumos it was built from. Something like mcs -p /usr/bin/awk should give the illumos build the command matches. # pkg search '\*/usr/bin/nawk' > Try pkg search nawk or pkg search /usr/bin/nawk (Basically, either the last component, or full pathname.) > # pkg contents -o pkg.name,path -a ='\*/usr/bin/nawk' > That would be pkg contents -o pkg.name,path -a path=usr/bin/nawk (note, without the leading / this time) > None of them return a package. Also 'awk --version' or 'nawk --version' > doesn't retrun anything. > That's because illumos has its own awk and nawk, rather than gawk. (Unfortunately, the regular illumos awk - the one in /usr/bin/awk - is pretty terrible, and best avoided.) -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev