[Ffmpeg-cvslog] CVS: ffmpeg clean-diff,NONE,1.1

Rich Felker dalias
Thu May 26 17:22:41 CEST 2005


On Thu, May 26, 2005 at 02:58:57PM +0200, Michael Niedermayer CVS wrote:
> Update of /cvsroot/ffmpeg/ffmpeg
> In directory mail:/var2/tmp/cvs-serv12771
> 
> Added Files:
> 	clean-diff 
> Log Message:
> very tiny script to remove tabs and trailing whitespace from patches
> 
> 
> --- NEW FILE: clean-diff ---
> #!/bin/sh
> sed '/^+[^+]/!s/	/TaBBaT/g' | expand -t `seq -s , 9 8 200` | sed 's/TaBBaT/	/g' | sed '/^+[^+]/s/ * $//'

you should add:
tr -d '\015'
(remove ^M crap :)

rich





More information about the ffmpeg-cvslog mailing list