Sorting the output with -s/--sort doesn't work
Bug #1093674 reported by
Sergey Romanov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg-awk (Debian) |
Fix Released
|
Unknown
|
|||
dpkg-awk (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Option -s/--sort is supposed to sort the output, but doesn't. Attached diff fixes the problem.
Actually, the patch fixes two unrelated bugs. One prevents sorting altogether, another one shows up only when specifying several sorting fields. The patch uses 'delete array' which is non-POSIX, but supported by all awk versions currently in Debian (mawk, gawk, original-awk). Moreover, 'delete array' has recently been accepted for inclusion into POSIX: http://
Changed in dpkg-awk (Debian): | |
status: | Unknown → New |
description: | updated |
Changed in dpkg-awk (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
The attachment "Fix sorting of the output" 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.]