Bug#663038: lintian: [PATCH] In package-name-doesnt-match-sonames description, change sed to awk example

2012-05-27 Thread Niels Thykier
tags 663038 = wontfix thanks On 2012-03-08 16:39, jaalto wrote: On 2012-03-08 15:06, Jakub Wilk wrote: | * Jari Aalto jari.aa...@cante.net, 2012-03-08, 02:23: | - $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | sed -e's/\([0-9]\)\.so\./\1-/;

Bug#663038: lintian: [PATCH] In package-name-doesnt-match-sonames description, change sed to awk example

2012-03-08 Thread Jakub Wilk
* Jari Aalto jari.aa...@cante.net, 2012-03-08, 02:23: - $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | sed -e's/\([0-9]\)\.so\./\1-/; s/\.so\.//' + $ objdump -p /path/to/libfoo-bar.so.1.2.3 | +awk '/SONAME/ {sub([.]so[.],); sub([.][0-9.]+,);

Bug#663038: lintian: [PATCH] In package-name-doesnt-match-sonames description, change sed to awk example

2012-03-08 Thread jaalto
On 2012-03-08 15:06, Jakub Wilk wrote: | * Jari Aalto jari.aa...@cante.net, 2012-03-08, 02:23: | - $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | sed -e's/\([0-9]\)\.so\./\1-/; s/\.so\.//' | + $ objdump -p /path/to/libfoo-bar.so.1.2.3 | | +awk

Bug#663038: lintian: [PATCH] In package-name-doesnt-match-sonames description, change sed to awk example

2012-03-07 Thread Jari Aalto
Package: lintian Version: 2.5.5 Severity: wishlist Tags: patch Please see if this suggestion to use simpler awk solution for double sed call in the example of package-name-doesnt-match-sonames description would be useful. -- System Information: Debian Release: wheezy/sid APT prefers unstable