Re: diff exit status

2017-07-27 Thread Ibrahim Khalifa
On Wed, Jul 26, 2017 at 11:06:02PM -0400, Ted Unangst wrote: > Ibrahim Khalifa wrote: > > Hi, > > > > If you run diff against two directories where you have file(s) and the > > only difference is that you have file(s) that only exists in one of the > > directories, diff will exit with 0. If you u

Re: diff exit status

2017-07-26 Thread Ted Unangst
Ibrahim Khalifa wrote: > Hi, > > If you run diff against two directories where you have file(s) and the only > difference is that you have file(s) that only exists in one of the > directories, diff will exit with 0. If you use -N och -P it will however exit > with 1. > > Reading through the ma

diff exit status

2017-07-26 Thread Ibrahim Khalifa
Hi, If you run diff against two directories where you have file(s) and the only difference is that you have file(s) that only exists in one of the directories, diff will exit with 0. If you use -N och -P it will however exit with 1. Reading through the man-page, I can’t find any reference that