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

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SARZ
Тема Re: [HACKERS] Using the -u switch for diff in regress.sh
Дата
Msg-id 219F68D65015D011A8E000006F8590C6010A51F3@sdexcsrv1.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers
>> has somebody tried to replace the -c switch with the -u switch
>> (available with GNU diffutils) in the script regess.sh?
>>
>> 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
context
usually the sql statement.

Andreas

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter T Mount
Дата:
Сообщение: Re: [HACKERS] Running pgindent
Следующее
От: jwieck@debis.com (Jan Wieck)
Дата:
Сообщение: pg_shadow