Originally posted by jlittle
View Post
Code:
$ aptitude -F '%12p %t %V %d' search '~U' libnss3 focal-security 2:3.49.1-1ubun Network Security Service libraries libopenexr24 focal-security 2.3.0-6ubuntu0 runtime files for the OpenEXR image library linux-base focal-security,focal-u 4.5ubuntu3.1 Linux image base package snapd focal-updates 2.45.1+20.04 Daemon and tooling that enable snap packages
Code:
#!/bin/bash work=$(mktemp --tmpdir ai2XXXX) trap "rm $work" EXIT if aptitude -F '%12p %t %V %d' search '~U' > $work then unset LESS paste -d ' ' <(cut -d ' ' -f -4 < $work | column -t) \ <(cut -d ' ' -f 5- < $work) | less -eX fi
Code:
libnss3 focal-security 2:3.49.1-1ubuntu1.2 Network Security Service libraries libopenexr24 focal-security 2.3.0-6ubuntu0.2 runtime files for the OpenEXR image library linux-base focal-security,focal-updates 4.5ubuntu3.1 Linux image base package snapd focal-updates 2.45.1+20.04 Daemon and tooling that enable snap packages
Comment