Originally Posted by syg00
Later testing seemed to confirm (somewhat) what samyboy is saying. I tried his last post, and it worked fine if new lines were (only) newlines.
An inserted line (especially as first line in the member) that had a "space" character in addition to the newline replicated samyboys problem.
I was playing around with various variations of the trivial files samyboy
suggested. Even with a completely empty line (verified with cat -E testfile) I couldn't get the -B and --ignore-blank-lines options to do anything. I also tried the -I option with the following regexp
and probably some others. I tried this on Ubuntu edgy eft
and an archaic RH system. I couldn't get anything to work so I figure I must be missing something basic. Like I said, I couldn't even get it to work with two sucessive newlines where you report success.
When I get a chance I'll try to play around with Ubuntu's menu.lst
to see if I can replicate your results. I've used regular expressions in other contexts, but this is the first time I've tried anything fancy with diff