diff options
author | axel <axel@liljencrantz.se> | 2006-03-02 21:28:08 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-03-02 21:28:08 +1000 |
commit | 3b6d8756eaad427743bf1830a37dbdc7dab9f2d0 (patch) | |
tree | e75b054ee1103845f5fb0dd3655b3f05f6f6e752 /share/functions/__fish_complete_man.fish | |
parent | d1bb30afae366aedde90d2ae3d34447a306dfa9d (diff) |
Fix various uses of the GNUism of allowing backslash escapes in the second half of a sed regexp substitution
darcs-hash:20060302112808-ac50b-46cdf8e99f8f6e8cab0d54f32cf4e4d309775aa1.gz
Diffstat (limited to 'share/functions/__fish_complete_man.fish')
-rw-r--r-- | share/functions/__fish_complete_man.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_complete_man.fish b/share/functions/__fish_complete_man.fish index fa116956..7eb69f06 100644 --- a/share/functions/__fish_complete_man.fish +++ b/share/functions/__fish_complete_man.fish @@ -21,7 +21,7 @@ function __fish_complete_man set section $section"[^)]*" # Do the actual search - apropos (commandline -ct) | grep \^(commandline -ct) | sed -n -e 's/\([^ ]*\).*(\('$section'\)) *- */\1\t\2: /p' + apropos (commandline -ct) | grep \^(commandline -ct) | sed -n -e 's/\([^ ]*\).*(\('$section'\)) *- */\1'\t'\2: /p' end end |