diff options
author | axel <axel@liljencrantz.se> | 2005-12-20 18:58:20 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-12-20 18:58:20 +1000 |
commit | cdbd233e6217e648245fc889edf4b46f9ca69473 (patch) | |
tree | ee37dfb786c3140d3e7ae3340130d9b0b1826dff /init/completions/make.fish | |
parent | 9ce93164bb51e39b7ec09b02ce4bd29308594847 (diff) |
Do not use GNU -r switch for sed
darcs-hash:20051220085820-ac50b-c46216c3eff88eab9776e5505de1f25e0e046cfc.gz
Diffstat (limited to 'init/completions/make.fish')
-rw-r--r-- | init/completions/make.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/completions/make.fish b/init/completions/make.fish index 2b932cda..7427fdeb 100644 --- a/init/completions/make.fish +++ b/init/completions/make.fish @@ -2,7 +2,7 @@ function __fish_print_make_targets set files Makefile makefile GNUmakefile - grep -h -E '^[^#%=$[:space:]][^#%=$]*:([^=]|$)' $files | cut -d ":" -f 1 | sed -r 's/^ *//;s/ *$//;s/ +/\n/g' ^/dev/null + grep -h -E '^[^#%=$[:space:]][^#%=$]*:([^=]|$)' $files | cut -d ":" -f 1 | sed -e 's/^ *//;s/ *$//;s/ */\n/g' ^/dev/null end complete -x -c make -a "(__fish_print_make_targets)" -d "Target" |