🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Marty Leisner Thu, 12 Nov 1992 02:45
Problem with diff 2.0?
#1088
Author: Marty Leisner
Date: Thu, 12 Nov 1992 02:45
23 lines
1588 bytes
I'm using the -I option in gnu diff (on sparcs 4.1.2) and not sure what I'm seeing makes sense...

I have a script I'm using:
diff -W 160   -I '.*\+.*' --ignore-all-space --ignore-case --ignore-blank-lines  --side-by-side $* 

I want to ignore lines with spaces, number of spaces, and lines with a + in them.
I get:
ax=3ae8  bx=0000  cx=0000  dx=0000  sp=ffff  bp=0000  si=0000  di=0000          ax=3ae8  bx=0000  cx=0000 dx=0000 sp=ffff bp=0000 si=0000 di=0000
cs=3ae8  ds=8000  ss=8000  es=8000  ip=00a8  o=0 d=0 i=1 s=0 z=0 a=0 p=0 c=0    cs=3ae8 ds=8000 ss=8000 es=8000 ip=00a8  o=0 d=0 i=1 s=0 z=0 a=0 p=0 c=0
test_inc_+89         mov     ss,ax                                            |

Which indicates the line beginning test_inc_ is being diffed...which I don't want it to be...

I ran this with egrep and it seemed to do what I wanted...


Marty    leisner.henr801c@xerox.com 
 	 leisner@eso.mc.xerox.com 
          Member of the League for Programming Freedom 
 The Feynman Problem Solving Algorithm:
 1) Write down the problem
 2) Think very hard
 3) Write down the answer     -- Murray Gell-mann
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads