[Mplayer-cvslog] CVS: main configure,1.932,1.933

Moritz Bunkus moritz at bunkus.org
Fri Nov 5 14:21:58 CET 2004


Hey,

> -  cc_name=`( $_cc -V ) 2>&1 | head -1 | cut -d ',' -f 1`
> -  cc_version=`( $_cc -V ) 2>&1 | head -1 | cut -d ',' -f 2 | cut -d ' ' -f 3`
> +  cc_name=`( $_cc -V ) 2>&1 | head -n 1 | cut -d ',' -f 1`
> +  cc_version=`( $_cc -V ) 2>&1 | head -n 1 | cut -d ',' -f 2 | cut -d
> -  ' ' -f 3`

Such patches have been rejected in the past, and I guess that there will
be some flaming now, too. The "proper" solution would IMHO be to check
whether head and tail want -n or not and to use that information.

Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds
-------------- 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/mplayer-cvslog/attachments/20041105/cd52acf3/attachment.pgp>


More information about the MPlayer-cvslog mailing list