[MPlayer-dev-eng] [PATCH] clean up tests in configure

Oded Shimon ods15 at ods15.dyndns.org
Thu Jun 30 19:05:48 CEST 2005


On Thu, Jun 30, 2005 at 06:38:35PM +0200, Emanuele Giaquinta wrote:
> On Thursday 30 June 2005 18:18, Oded Shimon wrote:
> 
> > 19:07) ods15 at linux15:~ $ which test
> > test: shell built-in command
> > 19:08) ods15 at linux15:~ $ which [
> > [: shell built-in command
> > 19:07) ods15 at linux15:~ $ bash
> > ods15 at linux15:~$ which test
> > /usr/bin/test
> > ods15 at linux15:~$ which [
> > /usr/bin/[
> 
> ayin at luxor ~ $ type test
> test is a shell builtin
> ayin at luxor ~ $ type [
> [ is a shell builtin
> ayin at luxor ~ $ echo $SHELL
> /bin/bash
> ayin at luxor ~ $
> 
> > 
> > Damn. bash sucks. zsh is better. :P
> > 
> 
> Sure ? :)

Yes yes i get it. :) All replies after rich's comment were redundant.
BTW, zsh was a little bit faster than bash, but with a script like this, 
unless you run it like 20 times or so, all benchmarks are silly due to 
linux caching.

zsh ./configure  6.31s user 2.16s system 89% cpu 9.510 total
sh ./configure  7.74s user 2.75s system 85% cpu 12.252 total


But it broke on some cases anyway. e.g.

var='cat whatever'
$var

gave 'zsh: command not found: cat whatever' ...

- ods15




More information about the MPlayer-dev-eng mailing list