annotate TOOLS/midentify @ 9331:bbe91bd6e1c8

10l
author arpi
date Fri, 07 Feb 2003 23:13:56 +0000
parents d151608b9f28
children 6cf694df50b3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7865
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
1 #!/bin/sh
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
2 mplayer -identify "$@" 2>/dev/null |
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
3 grep "^ID" |
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
4 sed -e 's/[`\\!$"]/\\&/g' |
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
5 sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'