summary refs log blame commit diff
path: root/pkgs/development/tools/misc/universal-ctags/sed-test.patch
blob: 7c44d699d79a1235073bd76e7595c966dee82df3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                   
--- a/Tmain/sorted-help-message.d/run.sh	2017-01-10 11:20:51.515093465 +0100
+++ b/Tmain/sorted-help-message.d/run.sh	2017-01-10 11:17:56.639213720 +0100
@@ -27,7 +27,7 @@
 extract_long_options()
 {
     sed -n '/Usage:/,$p'  | \
-    sed -n 's/\(^  --[:alnum:][<>[:alnum:]_-]*\).*/\1/p'
+    sed -n 's/\(^  --[[:alnum:]][<>[:alnum:]_-]*\).*/\1/p'
 }

 extract_debug_options()