aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/mplayer.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-11-30 00:00:04 +1000
committerGravatar axel <axel@liljencrantz.se>2006-11-30 00:00:04 +1000
commitf64364ccedb86d2fe182ac321585dbdda15c2175 (patch)
tree164a9ababc1d1f7455a841858aef524836308c51 /share/completions/mplayer.fish
parent32502bfac804551d09249675e382d297676a880c (diff)
Replace all internal uses of grep with sgrep, which is a wrapper around grep that strips away any GREP_OPTIONS. This is needed to avoid users who have added arbitrary switches to GREP_OPTIONS, thus changing its behaviour.
darcs-hash:20061129140004-ac50b-485ff6bfd71e9459ba62461f6e093ca5c9ddd664.gz
Diffstat (limited to 'share/completions/mplayer.fish')
-rw-r--r--share/completions/mplayer.fish8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/completions/mplayer.fish b/share/completions/mplayer.fish
index c2fbf252..e6588ed2 100644
--- a/share/completions/mplayer.fish
+++ b/share/completions/mplayer.fish
@@ -57,25 +57,25 @@ complete -c mplayer -o utf8 -d (N_ "Handle subtitlefile as utf8")
complete -c mplayer -o vo -x -d (N_ "Video output") -a "
(
- mplayer -vo help|grep \t.\*\t'\|^ *[a-zA-Z0-9][a-zA-Z0-9]* '|sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/'
+ mplayer -vo help|sgrep \t.\*\t'\|^ *[a-zA-Z0-9][a-zA-Z0-9]* '|sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/'
)
"
complete -c mplayer -o ao -x -d (N_ "Audio output") -a "
(
- mplayer -ao help|grep \t.\*\t'\|^ *[a-zA-Z0-9][a-zA-Z0-9]* '|sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/'
+ mplayer -ao help|sgrep \t.\*\t'\|^ *[a-zA-Z0-9][a-zA-Z0-9]* '|sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/'
)
"
complete -c mplayer -o afm -x -d (N_ "Audio output") -a "
(
- __fish_append ',' (mplayer -afm help|grep \t.\*\t'\|^ *[a-zA-Z0-9][a-zA-Z0-9]* '|sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/')
+ __fish_append ',' (mplayer -afm help|sgrep \t.\*\t'\|^ *[a-zA-Z0-9][a-zA-Z0-9]* '|sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/')
)
"
complete -c mplayer -o vfm -x -d (N_ "Video output") -a "
(
- __fish_append ',' (mplayer -vfm help|grep \t.\*\t'\|^ *[a-zA-Z0-9][a-zA-Z0-9]* '|sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/')
+ __fish_append ',' (mplayer -vfm help|sgrep \t.\*\t'\|^ *[a-zA-Z0-9][a-zA-Z0-9]* '|sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/')
)
"