#	faster fsplit
trap 'rm temp$$; trap 0; exit' 0 1 2 3 15
start1=0 start2=0
b='[A-Za-z]'
cat > temp$$		# read standard input into temp file
			# save original lengths of $1, $2
if test -s "$1"; then start1=`wc -l < $1`; fi
if test -s "$2"; then start2=`wc -l < $2`; fi
grep "$b" temp$$ >> $1	# lines with letters onto $1
grep -v "$b" temp$$ | grep '[0-9]' >> $2
			# lines with only numbers onto $2
total="`wc -l < temp$$`"
end1="`wc -l < $1`"
end2="`wc -l < $2`"
lost="`expr $total - \( $end1 - $start1 \) - \( $end2 - $start2 \)`"
echo "$total read, $lost thrown away"
