mirror of https://github.com/omar-polo/gmid.git
drop genbigfile
This commit is contained in:
parent
609fc9f9d9
commit
c421bd46ed
|
@ -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
|
Loading…
Reference in New Issue