Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Using the -u switch for diff in

From: Zeugswetter Andreas SARZ <Andreas(dot)Zeugswetter(at)telecom(dot)at>
To: "'pgsql-hackers(at)hub(dot)org'" <pgsql-hackers(at)hub(dot)org>
Subject: Re: [HACKERS] Using the -u switch for diff in
Date: 1998-02-25 08:32:08
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
>> has somebody tried to replace the -c switch with the -u switch
>> (available with GNU diffutils) in the script
>> Well, I did it and I find the resulting output much easier on the eye
>> to compare the current and the expected results. 
>> This change might be worth a little hint in the regress/README file. 
> regress/checkresults has those new flags.

Unfortunately, not all diff's have the -u option (AIX 4.1 :-(  so I have to
get a gnu diff)
but it looks like diff -wC3 will produce similar results. Actually
since the diff is so large I prefer diff -wC1 which only gives one line of
usually the sql statement.


pgsql-hackers by date

Next:From: Jan WieckDate: 1998-02-25 09:24:28
Subject: pg_shadow
Previous:From: Peter T MountDate: 1998-02-25 06:49:43
Subject: Re: [HACKERS] Running pgindent

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group