Alex Martelli wrote: > ....and wc would then not count that non-line as a line, so why should > we...? Witness...: 'Cause that's what Python does. Witness: % echo -n 'bu' | python -c \ ? 'import sys; print len(sys.stdin.readlines())' 1 ;) Andrew dalke at dalkescientific.com