On Wed, 05 Jan 2011, Jeff Rizzo wrote: > Modified Files: > src/tests/sbin/resize_ffs: common.sh > > Log Message: > Replace uses of 'jot' with 'seq'. This is primarily to work around > a qemu-running-on-netbsd problem with FP which causes 'jot' to output > incorrect sequences [...] > As a bonus, however, 'seq' is actually a better fit (the commandline is > more intuitive) for the way it is used in these tests.
I agree that "jot $(($2-$1+1)) $1" is ugly, but there was no need for that ugliness; a cleaner way to ask jot to output values from $1 to $2 in steps of 1 is "jot - $1 $2 1". I have added an example to the jot(1) man page. --apb (Alan Barrett)