annotate TOOLS/midentify @ 8273:226e6866212d

reversing my patch to check for -Wall support & use it if available (requested by A'rpi)
author rathann
date Mon, 25 Nov 2002 02:19:27 +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; }'