Shell script to do like winmerge.... :)

Shell script to do like winmerge.... :)

am 14.04.2008 17:40:08 von hemus7

Hi,
I want to write a shell script to do like winmerge . can any one
suggest a way?
i am trying to make it work like copying the entire change if any .if
there is no change,no action will take place.no prompt for each change
as of now.please post your suggestions

Re: Shell script to do like winmerge.... :)

am 14.04.2008 18:04:16 von Mevlut

hemus7@gmail.com wrote:

> Hi,
> I want to write a shell script to do like winmerge . can any one
> suggest a way?
> i am trying to make it work like copying the entire change if any .if
> there is no change,no action will take place.no prompt for each change
> as of now.please post your suggestions

What does winmerge do? Could you please provide some example?

Re: Shell script to do like winmerge.... :)

am 14.04.2008 18:08:53 von Scott McMillan

On Mon, 14 Apr 2008 08:40:08 -0700 (PDT), hemus7@gmail.com wrote:

>Hi,
>I want to write a shell script to do like winmerge . can any one
>suggest a way?
>i am trying to make it work like copying the entire change if any .if
>there is no change,no action will take place.no prompt for each change
>as of now.please post your suggestions

rsync ? I don't know what "winmerge" does...


Scott McMillan

Re: Shell script to do like winmerge.... :)

am 14.04.2008 18:32:42 von Glenn Jackman

At 2008-04-14 11:40AM, "hemus7@gmail.com" wrote:
> Hi,
> I want to write a shell script to do like winmerge . can any one
> suggest a way?

See the diff man page.

--
Glenn Jackman
"If there is anything the nonconformist hates worse than a conformist,
it's another nonconformist who doesn't conform to the prevailing
standard of nonconformity." -- Bill Vaughan

Re: Shell script to do like winmerge.... :)

am 14.04.2008 20:57:39 von Chris Mattern

On 2008-04-14, hemus7@gmail.com wrote:
> Hi,
> I want to write a shell script to do like winmerge . can any one
> suggest a way?

What's a "winmerge"?

--
Christopher Mattern

NOTICE
Thank you for noticing this new notice
Your noticing it has been noted
And will be reported to the authorities

Re: Shell script to do like winmerge.... :)

am 15.04.2008 06:54:21 von hemus7

On Apr 14, 11:57 pm, Chris Mattern wrote:
> On 2008-04-14, hem...@gmail.com wrote:
>
> > Hi,
> > I want to write a shell script to do like winmerge . can any one
> > suggest a way?
>
> What's a "winmerge"?
>
> --
> Christopher Mattern
>
> NOTICE
> Thank you for noticing this new notice
> Your noticing it has been noted
> And will be reported to the authorities

winmerge is an opensource free software to compare two files,show the
difference help in moving the difference from one file to another,say
for example my file1 is
1
2
3
and file2 is
1
1
2
3
3
3
3
if I compare this two files,UI will show the difference like

file1 file2
--------------------------------------------
1 1
2
2 2
3
3
3
3 3

winmerge will highlight the space I shown with red.its a cpp
application .with powerful shell utilities think it can be done more
easily.suggestions are welcome
-Hemanth

Re: Shell script to do like winmerge.... :)

am 15.04.2008 06:58:28 von Dan Mercer

wrote in message
news:9e638b8c-1daa-4860-9d20-38f4c36e696b@b1g2000hsg.googleg roups.com...
> On Apr 14, 11:57 pm, Chris Mattern wrote:
>> On 2008-04-14, hem...@gmail.com wrote:
>>
>> > Hi,
>> > I want to write a shell script to do like winmerge . can any one
>> > suggest a way?
>>
>> What's a "winmerge"?
>>
>> --
>> Christopher Mattern
>>
>> NOTICE
>> Thank you for noticing this new notice
>> Your noticing it has been noted
>> And will be reported to the authorities
>
> winmerge is an opensource free software to compare two files,show the
> difference help in moving the difference from one file to another,say
> for example my file1 is
> 1
> 2
> 3
> and file2 is
> 1
> 1
> 2
> 3
> 3
> 3
> 3
> if I compare this two files,UI will show the difference like
>
> file1 file2
> --------------------------------------------
> 1 1
> 2
> 2 2
> 3
> 3
> 3
> 3 3
>
> winmerge will highlight the space I shown with red.its a cpp
> application .with powerful shell utilities think it can be done more
> easily.suggestions are welcome
> -Hemanth
>
>
Get vim, the free editor, and use vimdiff. Available for PC or Unix (as
of tomorrow,
I will have both - vim finally getting the okey dooke from our systems
people. Won't
have to copy files to my PC to diff them anymore.)

Dan Mercer