[MPlayer-cvslog] CVS: main/TOOLS midentify,1.4,1.5

Rich Felker dalias at aerifal.cx
Fri Jul 1 03:58:54 CEST 2005


On Thu, Jun 30, 2005 at 03:59:47PM +0200, Tobias Diedrich CVS wrote:
> CVS change done by Tobias Diedrich CVS
> 
> Update of /cvsroot/mplayer/main/TOOLS
> In directory mail:/var2/tmp/cvs-serv9503
> 
> Modified Files:
> 	midentify 
> Log Message:
> Solaris sed needs the terminating '}' to be on a separate line
> 
> Index: midentify
> ===================================================================
> RCS file: /cvsroot/mplayer/main/TOOLS/midentify,v
> retrieving revision 1.4
> retrieving revision 1.5
> diff -u -r1.4 -r1.5
> --- midentify	30 Jun 2005 00:46:21 -0000	1.4
> +++ midentify	30 Jun 2005 13:59:44 -0000	1.5
> @@ -13,4 +13,6 @@
>  fi
>  
>  mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null |
> -	sed -ne '/^ID_/ {s/[]`\\!$" []/\\&/g;p }'
> +	sed -ne '/^ID_/ {
> +	                  s/[]`\\!$" []/\\&/g;p
> +	                }'

umm...try:

sed '/^ID_/!d;s/[]`\\!$" []/\\&/g'

rich




More information about the MPlayer-cvslog mailing list