[FFmpeg-cvslog] r10677 - trunk/configure

Måns Rullgård mans
Wed Oct 10 21:39:59 CEST 2007


Ramiro Polla <ramiro at lisha.ufsc.br> writes:

> 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.

You'll have to ask Rich why he has such a system.

>>> 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).

Ah, the Frequently Anticipated Questions page.

> Attached is the same workaround without a superfluous -n. It suits
> FFmpeg's needs...
>
> Ramiro Polla
> #!/bin/sh
> args=`echo $* | sed 's/-t //'`
> cat $args

That is a very bad idea.  Why don't you just compile yourself a proper
pr?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list