[Ffmpeg-cvslog] CVS: ffmpeg/libavutil mathematics.c,1.4,1.5

Måns Rullgård mru
Fri Apr 28 23:41:27 CEST 2006


Diego Biurrun <diego at biurrun.de> writes:

> On Fri, Apr 28, 2006 at 09:03:44PM +0100, M?ns Rullg?rd wrote:
>> mru at mplayerhq.hu (MXns RullgXrd CVS) writes:
>> 
>> > Modified Files:
>> > 	mathematics.c 
>> > Log Message:
>> > add newline at end of file
>> 
>> Diego, can we have a check for this in the cvs checking script?
>
> Sure.  Do you know offhand what I have to grep for?

I can't think of a grep pattern that will match this.  You can do

  tail -c1 file | wc -l

which should print 1.  It prints 0 if the file doesn't end with a
newline.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-cvslog mailing list