[Ffmpeg-devel] Bug in "configure" file.

Derek E. Lewis dlewis
Wed Aug 30 08:58:53 CEST 2006

On Tue, 29 Aug 2006, Diego Biurrun wrote:

> On Tue, Aug 29, 2006 at 10:45:08AM +0200, Michel Bardiaux wrote:
>> enterit . wrote:
>>> There is a simple bug in "configure" file.
>>> `tr a-z A-Z` works properly on almost all Unix-like systems, but it
>>> does not work for SunOs 5.10.
>>> I think it's better to use `tr [a-z] [A-Z]` instead.
>> Actually, tr '[a-z]' '[A-Z]', the quotes are needed.
> Who else is tired of rewriting seemingly every single line of a shell
> script for Solaris?
> I'm very tempted to just tell people to "Fix Solaris instead!" unless
> somebody comes and hits me over the head with a 20 tome Unix standard
> that disabuses me from my non-standard ways...

In this instance I agree the userland is somewhat broken (the past bug in 
the MPlayer 'configure' script concerning 'sed' was not strictly a Solaris 
userland issue, though).

The appropriate solution is to use /usr/bin/env, and leave the choice of 
the userland to the user.

More information about the ffmpeg-devel mailing list