On Thu, Oct 7, 2010 at 4:03 PM, Daenyth Blank <[email protected]> wrote: > On Thu, Oct 7, 2010 at 16:52, Dan McGee <[email protected]> wrote: >> This is not a bash builtin, so can potentially cause portability issues. >> Additionally, the use of it is completely unnecessary as it can all be done >> within bash (and done faster). >> >> $ time pactree xfwm4 >/dev/null (old version) >> real 0m3.245s >> >> $ time ./contrib/pactree xfwm4 >/dev/null (new version) >> real 0m3.042s >> >> Signed-off-by: Dan McGee <[email protected]> >> --- > If we accept a dependency on bash >= 4, we can further reduce that all > to a brace expansion: > daen...@bragi ~ $ echo {01..10} > 01 02 03 04 05 06 07 08 09 10
We don't. -Dan [1] http://projects.archlinux.org/pacman.git/commit/?id=c2cf6a14cf44400d0ef249b38d37eb04d3424bf4 [2] http://projects.archlinux.org/pacman.git/commit/?id=8b23aa172f6229dd82c381704d4802d9747e118b
