two-letter short option -rs doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg-awk (Debian) |
Fix Released
|
Unknown
|
|||
dpkg-awk (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
dpkg-awk has a two-letter short option -rs to set record separator, but /usr/share/
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-awk -of=x -- ^description
will show only empty lines, one for each record from /var/lib/
description: | updated |
Changed in dpkg-awk (Debian): | |
status: | Unknown → New |
Changed in dpkg-awk (Debian): | |
status: | New → Fix Released |
The attachment "Enable two-letter short options" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]