Web lists-archives.com

Re: [PATCH 03/10] pack-objects: test for --partial-by-size --partial-special




Am 08.03.2017 um 18:37 schrieb Jeff Hostetler:
+test_expect_success 'setup' '
+	perl -e "print \"a\" x 11;"      > a &&
+	perl -e "print \"a\" x 1100;"    > b &&
+	perl -e "print \"a\" x 1100000;" > c &&

If the file contents do not matter, you can have the same without perl like this:

	printf "%011d" 0      >a &&
	printf "%01100d" 0    >b &&
	printf "%01100000d" 0 >c &&

-- Hannes