Subject: Re: [PATCH] Add test case for ls-files --with-head

From: Johannes Sixt <[email-masked]>
Date: Wed, 03 Oct 2007 14:09:13 +0200

Carl Worth schrieb:
> +for num in $(seq -f%04g 1 50); do
> +	touch sub/file-$num
> +	echo file-$num >> expected
> +done

seq is not universally available. Can we have that as

for i in 0 1 2 3 4; do
	for j in 0 1 2 3 4 5 6 7 8 9; do
		> sub/file-$i$j
		echo file-$i$j >> expected
	done
done

-- Hannes