<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1444595527029_2940"><span id="yui_3_16_0_1_1444595527029_2943">Hi,</span></div><div dir="ltr" id="yui_3_16_0_1_1444595527029_2940"><span><br></span></div><div dir="ltr" id="yui_3_16_0_1_1444595527029_2940"><span>pkg install </span><a title="Package Information Summary" href="http://pkg.openindiana.org/hipster-2015/info/0/system%2Fextended-system-utilities%400.5.11%2C5.11-2015.0.2.15295%3A20151011T162749Z" style="text-decoration: none; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16.003px; background-color: rgb(255, 255, 255);" id="yui_3_16_0_1_1444595527029_2939" class="" title-off="">system/extended-system-utilities</a></div><div dir="ltr" id="yui_3_16_0_1_1444595527029_2941">pkg install text/gawk</div><div dir="ltr" id="yui_3_16_0_1_1444595527029_2941"><br></div><div dir="ltr" id="yui_3_16_0_1_1444595527029_2941">~ Ken</div> <br><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> On Sunday, October 11, 2015 1:02 PM, Peter Tribble <peter.tribble@gmail.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><div id="yiv9731944689"><div><div dir="ltr"><br clear="none"><div class="yiv9731944689gmail_extra"><br clear="none"><div class="yiv9731944689gmail_quote">On Sun, Oct 11, 2015 at 8:41 PM, G B via oi-dev <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:oi-dev@openindiana.org" target="_blank" href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a>></span> wrote:<br clear="none"><blockquote class="yiv9731944689gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div>What are the versions of nawk and awk in 1003 OI Hipster?</div></div></div></blockquote><div><br clear="none"></div><div>Whatever the version of illumos it was built from.<br clear="none"></div><div> <div>Something like<br clear="none"><br clear="none"></div><div>mcs -p /usr/bin/awk<br clear="none"><br clear="none"></div><div>should give the illumos build the command matches.<br clear="none"></div><div><br clear="none"></div></div><blockquote class="yiv9731944689gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div># pkg search '\*/usr/bin/nawk'</div></div></div></blockquote><div><br clear="none"></div><div>Try<br clear="none"><br clear="none"></div><div>pkg search nawk<br clear="none"><br clear="none"></div><div>or<br clear="none"><br clear="none"></div><div>pkg search /usr/bin/nawk<br clear="none"><br clear="none"></div><div>(Basically, either the last component, or full pathname.)<br clear="none"></div><div> </div><blockquote class="yiv9731944689gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div># pkg contents -o <a rel="nofollow" shape="rect" target="_blank" href="http://pkg.name/">pkg.name</a>,path -a ='\*/usr/bin/nawk'</div></div></div></blockquote><div><br clear="none"></div><div>That would be<br clear="none"><br clear="none"></div><div>pkg contents -o <a rel="nofollow" shape="rect" target="_blank" href="http://pkg.name/">pkg.name</a>,path -a path=usr/bin/nawk<br clear="none"><br clear="none"></div><div>(note, without the leading / this time)<div class="yiv9731944689yqt9555123918" id="yiv9731944689yqtfd07512"><br clear="none"></div></div><div class="yiv9731944689yqt9555123918" id="yiv9731944689yqtfd07412"><div> </div><blockquote class="yiv9731944689gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div dir="ltr"></div><div dir="ltr">None of them return a package. Also 'awk --version' or 'nawk --version' doesn't retrun anything.</div></div></div></blockquote></div><div><br clear="none"></div><div>That's because illumos has its own awk and nawk, rather than gawk.<br clear="none"><br clear="none"></div><div>(Unfortunately, the regular illumos awk - the one in /usr/bin/awk - is<br clear="none"></div><div>pretty terrible, and best avoided.) <br clear="none"></div></div><br clear="none">-- <br clear="none"><div class="yiv9731944689gmail_signature">-Peter Tribble<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.petertribble.co.uk/">http://www.petertribble.co.uk/</a> - <a rel="nofollow" shape="rect" target="_blank" href="http://ptribble.blogspot.com/">http://ptribble.blogspot.com/</a></div><div class="yiv9731944689yqt9555123918" id="yiv9731944689yqtfd50424">
</div></div></div></div></div><br><div class="yqt9555123918" id="yqtfd25276">_______________________________________________<br clear="none">oi-dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:oi-dev@openindiana.org" href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a><br clear="none"><a shape="rect" href="http://openindiana.org/mailman/listinfo/oi-dev" target="_blank">http://openindiana.org/mailman/listinfo/oi-dev</a></div><br><br></div> </div> </div> </div></div></body></html>