Обсуждение: Using the -u switch for diff in regress.sh

Поиск
Список
Период
Сортировка

Using the -u switch for diff in regress.sh

От
Frank Ridderbusch
Дата:
Hi,

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.

--
    Frank

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

От
Bruce Momjian
Дата:
>
> Hi,
>
> 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.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)