delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/25/13:35:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [12.2.48.21]
From: "dheeraj seth" <seth_dheeraj AT hotmail DOT com>
To: maharig AT idirect DOT net, cygwin AT cygwin DOT com
Subject: RE: sdiff related.....
Date: Fri, 25 Oct 2002 12:35:19 -0500
Mime-Version: 1.0
Message-ID: <F12P6wb8fADiBkVWXDu00014232@hotmail.com>
X-OriginalArrivalTime: 25 Oct 2002 17:35:19.0751 (UTC) FILETIME=[E3977D70:01C27C4C]

Hi Thanks,
-D is really a option in diff,and it works....but it says
"-D option not supported with directories"
any way to overcome this?

Thanks again
Best Regards



>From: "Harig, Mark A." <maharig AT idirect DOT net>
>To: "dheeraj seth" <seth_dheeraj AT hotmail DOT com>,<cygwin AT cygwin DOT com>
>Subject: RE: sdiff related.....
>Date: Thu, 24 Oct 2002 18:51:55 -0400
>
>Consider downloading and installing the 'patch' utility
>in the 'Utils' category.  'patch --help', 'info patch',
>or 'man patch' at your shell prompt will give you
>instructions on how to use it.
>
> > -----Original Message-----
> > From: dheeraj seth [mailto:seth_dheeraj AT hotmail DOT com]
> > Sent: Thursday, October 24, 2002 6:47 PM
> > To: cygwin AT cygwin DOT com
> > Subject: sdiff related.....
> >
> >
> > Hi everybody,
> > I have searched amlost evrything mentioned on the cygwin site.
> > The Problem is:
> > i used  diff utility to get differences between two files(F1
> > and F2).It
> > worked.it gave me the changes to add and replace in the
> > file(F2), now i can
> > use sdiff but the problem is want to add a line before and after the
> > changes, when sidff adds those changes to the file.
> > Is there any option to add my lines while doing this?
> > Please any help would be really appreciated.
> >
> > Thanks a lot.
> > Best Regards.
> >
> > Example: this is a portion of output by diff
> >
> > diff -r 72/compproc/xbpaEstimateLineSelect.sql
> > 73/compproc/xbpaEstimateLineSelect.sql
> > 56a57,63
> > >	AND (PCBACTUALQTY < PCBESTIMATEQTY or not exists(select
> > 1 from PCB00125
> > >		where PCBJOBNUMBER = @project
> > >		      AND PCBPNUM = @phase))
> >
> >
> > Want to Add this to File F2:
> >
> > #If xyz == 21
> > AND (PCBACTUALQTY < PCBESTIMATEQTY or not exists(select 1
> > from PCB00125
> > where PCBJOBNUMBER = @project
> > AND PCBPNUM = @phase))
> > #endif
> >
> >
> >
> >
> >
> >
> > _________________________________________________________________
> > Surf the Web without missing calls! Get MSN Broadband.
> > http://resourcecenter.msn.com/access/plans/freeactivation.asp
> >
> >
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> >
> >


_________________________________________________________________
Unlimited Internet access for only $21.95/month.  Try MSN! 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019