Re: get pkg name
"linux china" <chinalinux@gmail.com> 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 &
> description?
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.
Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
Reply to: