home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.utils.bug
- Path: sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!eso.mc.xerox.COM!leisner
- From: leisner@eso.mc.xerox.COM ( Marty Leisner)
- Subject: Problem with diff 2.0?
- Message-ID: <9211120245.AA01187@annapurna.wbst147.xerox.com>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Thu, 12 Nov 1992 02:45:58 GMT
- Approved: bug-gnu-utils@prep.ai.mit.edu
- Lines: 24
-
- 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
-
-