drop genbigfile

This commit is contained in:
Omar Polo 2021-01-22 17:24:33 +00:00
parent 609fc9f9d9
commit c421bd46ed
1 changed files with 0 additions and 29 deletions

View File

@ -1,29 +0,0 @@
#!/bin/sh
set -e
dotimes() {
if which jot 2>/dev/null >/dev/null; then
jot "$@"
elif which seq 2>/dev/null >/dev/null; then
seq "$@"
else
echo "no jot/seq binary found"
exit 1
fi
}
file="$1"
if [ -z "$file" ]; then
echo "USAGE: $(dirname "$0") <filename>"
exit 1
fi
printf "" > "$file"
for i in `dotimes 1024`; do
for j in `dotimes 1024`; do
echo "a" >> "$file"
done
done