>okay... I used 2 different input files test.file.out.1 and test.file.1 >(sorry about the names) ... their content is: > >at kenner> cat test.file.out.1 > 4 This is the last line , number four. >at kenner> cat test.file.1 >one >two >three >four >five > >When I use grep under the Bourne shell I get a different result for >/dev/null depending on which file it follows... > >at kenner> sh >$ grep -c '\<[0-9]\{1,\}\>' test.file.out.1 /dev/null test.file.1 >test.file.out.1:1 >/dev/null:1 >test.file.1:0 >$ grep -c '\<[0-9]\{1,\}\>' test.file.1 /dev/null test.file.out.1 >test.file.1:0 >/dev/null:0 >test.file.out.1:1 >$ exit >at kenner> >Any comments? Looks like a solaris "feature". This doesn't happen on my SunOS machine. Kind of irritating, I'd say, but definitely a bug.