On Sun, May 8, 2011 at 08:46, <danie...@apache.org> wrote: >... > +++ subversion/trunk/tools/dev/benchmarks/large_dirs/create_bigdir.sh Sun May > 8 12:46:20 2011 > @@ -99,6 +99,13 @@ echo > rm -rf $WC > ${SVN} co $URL $WC > /dev/null > > +# helpers > + > +get_sequence() { > + # three equivalents... > + (jot - "$1" "$2" "1" 2>/dev/null || seq -s ' ' "$1" "$2" 2>/dev/null || > python -c "for i in range($1,$2+1): print i")
If you're invoking Python, then I'd recommend just writing the whole thing in Python. (tho... I guess some thing are easier in sh...) >... Cheers, -g