Re: get pkg name
"linux china" <firstname.lastname@example.org> wrote:
> I don't mean adjusting the columns. you can see the package name is
> cut, the words after libhtml-tree-p is missing, so I just want to
> output the name & description which are needed, other information like
> version isn't needed, so how to just output the package name &
Did you actually try the COLUMNS= suggestion? It seems to adjust the
widths of each column as well. If you want to get rid of the version
information you will need to use something like sed.
If you can't explain it simply, you don't understand it well enough.