Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3395

[Solved] Shell input syntax for wrapped strings.

$
0
0
Hello community!

How to shorten shell input for 'apt-listbugs' so it could run from 'apt list --upgradable' is required. When I enter

Code:

:~$ apt list --upgradable 
the ouput looks like:

Code:

cracklib-runtime/testing 2.9.6-5.2+b1 amd64 [upgradable from: 2.9.6-5.2]i2c-tools/testing 4.4-1+b3 amd64 [upgradable from: 4.4-1+b2]libaudit1/testing 1:4.0.2-2+b2 amd64 [upgradable from: 1:4.0.2-2+b1]
Is there a way to input packages names only for 'apt-listbugs' command so it will wrap only names in the

Code:

:~$ apt-listbugs list cracklib-runtime i2c-tools libaudit1
style?
Once I had a book which have described shell syntax so clearly and easy. Have lost it long time back.
Have tried to use 'man bash' as a clue. That is so complicated in terms of search and proper syntax visibility!
Would you give a piece of advice like where to find good prompter or dictionary for shell syntax anyway?

Statistics: Posted by nikobit — 2025-02-27 10:59 — Replies 1 — Views 36



Viewing all articles
Browse latest Browse all 3395

Trending Articles