[csw-users] rlwrap issues

Peter Bonivart bonivart at opencsw.org
Mon Jan 31 16:51:06 CET 2011

On Mon, Jan 31, 2011 at 4:02 PM, upen <upendra.gandhi at gmail.com> wrote:
> /opt/csw/bin/pkgutil -c | grep rlwrap
> CSWrlwrap                 0.37,REV=2010.09.01       SAME

My response is less useful since it's totally off topic :-) but here goes:

You don't have to pipe to grep for that, the same result comes from
just giving rlwrap as an argument to -c, like this:

# pkgutil -c rlwrap

You can also add more packages to select, like this:

# pkgutil -c rlwrap bash perl

Which would otherwise take something hard to type like this to get the
same result:

# pkgutil -c | egrep 'rlwrap|bash|perl'

This works with most of the query options in pkgutil such as -a/A/c/C
and so on. Just a reminder since I see so many piping to grep.


More information about the users mailing list