| Server IP : 173.236.233.93 / Your IP : 216.73.217.165 Web Server : nginx/1.28.1 System : Linux dp-9c4aecd272 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64 User : wp_7qsbbu ( 25017242) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /bin/ |
Upload File : |
#!/bin/sh
# be sure to chmod +x this!
# ./script "fieldname: regex" "fieldname: regex" ... --
# "fieldname" "fieldname" ...
# Find all records matching the regex expressions, and output the
# requested fieldnames.
# The fieldnames can be upper or lowercase. When outputing the
# fieldnames, the case used is the same as specified on the
# cmd line.
# sample cmdline:
#
# dpkg-awk --sort "Package" "Status: .* installed$" -- ^Description ^Conffiles
# --sort(-s) "<space separated list of fields to sort on>"
# --filename(-f) <filename to parse, default = /var/lib/dpkg/status>
# dpkg-awk [options] <regex expresion list> -- <output field list>
# <output field list>
# If the first char is "^", then it is a list of fields *NOT* to output,
# otherwise, it will output the listed fields.
unset POSIXLY_CORRECT
awk -f /usr/share/awk/getlong.awk -f /usr/share/awk/dpkg-awk.awk \
-- "--exebase=$(basename $0)" "--exedir=$(dirname $0)" "$@"