☰
Debian Codegraph
@
0.16.1-1
/
/
benchmarks
/
data
/
replicate
☽
☼
benchmarks/data/replicate
code
plain
raw
BSD-C3
2016-2017, Inhabited Type LLC
debian/copyright
1
#!/usr/bin/env bash
2
3
# `replicate f n` creates a new file called `f.n` containing n copies of f.
4
for i in `seq 1 $2`; do
5
cat $1 >> $1.$2
6
done