1
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 06:03:45 +01:00

Add missing escapes, this should now cover all shell special characters AFAICS

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15890 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ranma 2005-07-02 19:12:01 +00:00
parent a123c6be4c
commit 58e6402d2e

View File

@ -14,5 +14,5 @@ fi
mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null |
sed -ne '/^ID_/ {
s/[]`\\!$" []/\\&/g;p
s/[]()|&;<>`'"'"'\\!$" []/\\&/g;p
}'