U
U
Uncle Seryozha2018-04-12 07:00:29
bash
Uncle Seryozha, 2018-04-12 07:00:29

How to upload a list of packages to a table?

Help me write a script to unload the list of installed packages in the form of a table.
The pkg_info -l 1c application command prints line by line for each package:
Parameter1: package name1
Parameter2: value
A needed in the form:
Parameter1|parameter2
Package name 1 |value
Package name 2|value

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2018-04-12
@Protos

Parsing, reading help on pkg_info
would be nice to give an example of the output and see if there is an opportunity to work with wildcards. Not everyone has a Solaris at hand.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question