[FFmpeg-cvslog] r10677 - trunk/configure

Rich Felker dalias
Thu Oct 11 20:21:48 CEST 2007


On Wed, Oct 10, 2007 at 04:19:04PM -0300, Ramiro Polla wrote:
> M?ns Rullg?rd wrote:
> >Ramiro Polla <ramiro at lisha.ufsc.br> writes:
> >  
> >>mru wrote:
> >>    
> >>>Author: mru
> >>>Date: Sat Oct  6 19:09:30 2007
> >>>New Revision: 10677
> >>>
> >>>Log:
> >>>use pr -n -t instead of non-standard cat -n  
> >>>      
> >>Is this purely to be standard compliant or did you manage to find a 
> >>system that doesn't accept cat -n?
> >>    
> >
> >Rich has one, apparently.
> >  
> 
> That's funny...
> I admire FFmpeg's standard compliance. It gets to the point where you 
> create systems to justify such changes.

I did not create it. It's the normal BusyBox version of cat, which
does not include all sorts of senseless code that complicates buffer
management for the sake of textfile processing operations that have
nothing to do with the normal behavior of cat. Blame the
GNU/BSD/whoever idiots who thought cat had something to do with text
files...

> >>MSYS doesn't have pr.
> >>    
> >
> >Then it's not POSIX compliant, and we can't be expected to support
> >it.
> >  
> 
> Yes, we got the point already...
> That's why I provided the workaround. Be prepared to receive a bunch of 
> bug reports about this. IMO it should go to the FAQ (even before it 
> starts being frequently asked).

I think pr might be sufficiently uncommon (even though standard) that
it would be nice to check for its presence and skip the useless line
number stuff if pr is not present..

Rich




More information about the ffmpeg-cvslog mailing list