<div dir="ltr">$0.02<div><br></div><div>I recall an argument on some list years and years ago about the find util returning 0 when no files were found....</div><div><br></div><div>Just because the command didn't return the data you requested (notwithstanding any regex issues as you mentioned) doesn't mean it didn't execute, and exit successfully. I believe it is correct to exit 0 as the program itself didn't falter.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 13, 2014 at 2:52 PM, George Vlahavas <span dir="ltr"><<a href="mailto:vlahavas@gmail.com" target="_blank">vlahavas@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jason,<br>
<br>
I noticed that doing a:<br>
slapt-get --search gtk+3<br>
or<br>
slapt-get --search gtk+2<br>
doesn't actually return any of those packages as part of the results. Obviously the + is being interpreted as a regex. But it just feels weird that it doesn't return the package with an exact match.<br>
<br>
Same problem with slapt-src:<br>
slapt-src --search c++-gtk-utils<br>
returns nothing, but there is a slackbuild with that name.<br>
<br>
Also, doing<br>
slapt-get --show not-a-package<br>
or<br>
slapt-get --search not-a-package<br>
returns exit code 0. Same with slapt-src. Probably it should return something other than 0 since it finds nothing?<br>
<br>
Best regards,<br>
<br>
George<br>
______________________________<u></u>_________________<br>
Slapt-get-user mailing list<br>
<a href="mailto:Slapt-get-user@software.jaos.org" target="_blank">Slapt-get-user@software.jaos.<u></u>org</a><br>
<a href="http://software.jaos.org/cgi-bin/mailman/listinfo/slapt-get-user" target="_blank">http://software.jaos.org/cgi-<u></u>bin/mailman/listinfo/slapt-<u></u>get-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>aRDy Music and Rick Dicaire present:<br><a href="http://www.ardynet.com">http://www.ardynet.com</a><br><a href="http://www.ardynet.com:9000/ardymusic.ogg.m3u">http://www.ardynet.com:9000/ardymusic.ogg.m3u</a>
</div>