Mercurial > mplayer.hg
view TOOLS/midentify @ 8274:be311f828476
Fix endless-loop if no newline at input.conf EOF
author | atmos4 |
---|---|
date | Mon, 25 Nov 2002 13:28:40 +0000 |
parents | d151608b9f28 |
children | 6cf694df50b3 |
line wrap: on
line source
#!/bin/sh mplayer -identify "$@" 2>/dev/null | grep "^ID" | sed -e 's/[`\\!$"]/\\&/g' | sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'