#!/bin/sh
# $Id: many-stores,v 1.1 1999/05/29 01:06:37 lha Exp $

touch foo

for i in `awk 'BEGIN {for(i=0; i < 1000; ++i) printf "%d\n", i}' /dev/null`; do
    echo "foo$i" >> foo || exit 1
done

rm foo