* scripts/extract_symvers: Escape [ and ] brackets.
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 13 Jan 2009 08:30:12 +0000 (09:30 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 13 Jan 2009 08:30:12 +0000 (09:30 +0100)
From-SVN: r143333

libstdc++-v3/scripts/extract_symvers

index d26dfdf..d77395d 100755 (executable)
@@ -53,7 +53,7 @@ export LANG
 tmp=extract.$$
 
 ${readelf} ${lib} |\
-sed -e 's/ [<other>: [A-Fa-f0-9]*] //' -e '/\.dynsym/,/^$/p;d' |\
+sed -e 's/ \[<other>: [A-Fa-f0-9]*\] //' -e '/\.dynsym/,/^$/p;d' |\
 egrep -v ' (LOCAL|UND) ' |\
 awk '{ if ($4 == "FUNC" || $4 == "NOTYPE")
          printf "%s:%s\n", $4, $8;