[FFmpeg-devel] configure script and "toupper()", Solaris vs FreeBSD

Michael Niedermayer michaelni
Wed Aug 15 01:29:26 CEST 2007


On Wed, Aug 15, 2007 at 01:12:45AM +0200, Diego Biurrun wrote:
> On Tue, Aug 14, 2007 at 09:45:41PM +0100, M?ns Rullg?rd wrote:
> > usleepless at gmail.com writes:
> > 
> > > toupper(){
> > >     echo "$@" | tr [a-z] [A-Z]
> > > }
> > 
> > This will break horribly if run in a directory containing a file with
> > a single-letter name.
> 
> Indeed, this fails to work, but what is happening?  I'm puzzled...

read the fine man bash about Pathname Expansion

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070815/53692042/attachment.pgp>



More information about the ffmpeg-devel mailing list