Activity log for bug #1093672

Date Who What changed Old value New value Message
2012-12-25 19:15:14 Sergey Romanov bug added bug
2012-12-25 19:15:14 Sergey Romanov attachment added Enable two-letter short options https://bugs.launchpad.net/bugs/1093672/+attachment/3467722/+files/enable-2-letter-opts.diff
2012-12-25 19:18:39 Sergey Romanov bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586040
2012-12-25 19:18:39 Sergey Romanov bug task added dpkg-awk (Debian)
2012-12-25 19:19:26 Sergey Romanov bug added subscriber Jeroen Schot
2012-12-25 19:45:05 Sergey Romanov description dpkg-awk has a two-letter short option -rs to set record separator, but /usr/share/awk/getlong.awk only allows one-letter short options as arguments to dpkg-awk. The equivalent long option --rec_sep works as advertised. Attached diff enables two-letter short options for dpkg-awk. Besides -rs/--rec_sep, there is an undocumented option -of/--outform that also benefits from the patch. However, this option is of little use as all it does is suppress the output of fields not specified explicitly on command line (usually when negating the output fields). I.e. if dpkg-awk -- ^description will show all the records from /var/lib/dpkg/status omitting package descriptions then dpkg-awk -of=x --^description will show only empty lines, one for each record from /var/lib/dpkg/status dpkg-awk has a two-letter short option -rs to set record separator, but /usr/share/awk/getlong.awk only allows one-letter short options as arguments to dpkg-awk. The equivalent long option --rec_sep works as advertised.  Attached diff enables two-letter short options for dpkg-awk. Besides -rs/--rec_sep, there is an undocumented option -of/--outform that also benefits from the patch. However, this option is of little use as all it does is suppress the output of fields not specified explicitly on command line (usually when negating the output fields). I.e. if dpkg-awk -- ^description will show all the records from /var/lib/dpkg/status omitting package descriptions then dpkg-awk -of=x -- ^description will show only empty lines, one for each record from /var/lib/dpkg/status
2012-12-25 20:17:22 Bug Watch Updater dpkg-awk (Debian): status Unknown New
2012-12-25 20:17:55 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2017-11-15 13:28:32 Launchpad Janitor dpkg-awk (Ubuntu): status New Fix Released
2017-11-16 12:48:04 Bug Watch Updater dpkg-awk (Debian): status New Fix Released