Prev: Redirect stdout and stderr preserving the original order
Next: Examine standard output and exit immediately if the exit code is non-zero?
From: miloody on 3 Aug 2010 08:35 Dear all: I use "diff -rupN" to generate the patch file but I find diff will also compare the information that keep in svn files. how could I tell diff not to generate patch without comparing svn files? appreciate your help, miloody
From: WANG Cong on 4 Aug 2010 04:18 On Tue, 03 Aug 2010 05:35:02 -0700, miloody wrote: > Dear all: > I use "diff -rupN" to generate the patch file but I find diff will also > compare the information that keep in svn files. how could I tell diff > not to generate patch without comparing svn files? > appreciate your help, > miloody '--exclude' could help.
From: miloody on 4 Aug 2010 23:39 hi On 8æ4æ¥, ä¸å4æ18å, WANG Cong <xiyou.wangc...(a)gmail.com> wrote: > On Tue, 03 Aug 2010 05:35:02 -0700, miloody wrote: > > Dear all: > > I use "diff -rupN" to generate the patch file but I find diff will also > > compare the information that keep in svn files. how could I tell diff > > not to generate patch without comparing svn files? > > appreciate your help, > > miloody > > '--exclude' could help. when I man diff, I cannot see this option. Would you mind telling me where the usage it is? appreciate your help, miloody
From: Loki Harfagr on 5 Aug 2010 03:03 Wed, 04 Aug 2010 20:39:29 -0700, miloody did cat : > hi > On 8月4日, 下午4時18分, WANG Cong <xiyou.wangc...(a)gmail.com> wrote: >> On Tue, 03 Aug 2010 05:35:02 -0700, miloody wrote: >> > Dear all: >> > I use "diff -rupN" to generate the patch file but I find diff will >> > also compare the information that keep in svn files. how could I tell >> > diff not to generate patch without comparing svn files? appreciate >> > your help, >> > miloody >> >> '--exclude' could help. > > when I man diff, I cannot see this option. Would you mind telling me > where the usage it is? appreciate your help, > miloody this is on a GNU/Linux system: ---- $ man -P cat diff | grep -C 1 xclude -x PAT --exclude=PAT Exclude files that match PAT. -X FILE --exclude-from=FILE Exclude files that match any pattern in FILE ---- now, maybe your system doesn't have that 'diff'?
From: miloody on 6 Aug 2010 03:00
hi: On 8æ5æ¥, ä¸å3æ03å, Loki Harfagr <l...(a)thedarkdesign.free.fr.INVALID> wrote: > Wed, 04 Aug 2010 20:39:29 -0700, miloody did cat : > > > hi > > On 8æ4æ¥, ä¸å4æ18å, WANG Cong <xiyou.wangc...(a)gmail.com> wrote: > >> On Tue, 03 Aug 2010 05:35:02 -0700, miloody wrote: > >> > Dear all: > >> > I use "diff -rupN" to generate the patch file but I find diff will > >> > also compare the information that keep in svn files. how could I tell > >> > diff not to generate patch without comparing svn files? appreciate > >> > your help, > >> > miloody > > >> '--exclude' could help. > > > when I man diff, I cannot see this option. Would you mind telling me > > where the usage it is? appreciate your help, > > miloody > > this is on a GNU/Linux system: > ---- > $ man -P cat diff | grep -C 1 xclude >     -x PAT  --exclude=PAT >        Exclude files that match PAT. > >     -X FILE  --exclude-from=FILE >        Exclude files that match any pattern in FILE > ---- > > now, maybe your system doesn't have that 'diff'? I found it :) appreciate your help, miloody |