I've trying to compare two files using diff from a .bat file :
diff -iX scripts/%2.ignorelist %difffile1% %difffile2%
The file is a cisco config file. A wc -l of the file tells me its over 500
lines long.
I'm using diff to compare an OLD file to a NEW one. Constantly a line
changes value:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Adrian Marsh on 8/25/2005 3:52 AM:
I've trying to compare two files using diff from a .bat file :
diff -iX scripts/%2.ignorelist %difffile1% %difffile2%
...
So I wanted to exclude the ntp line and I put it in the ignorelist.
Hi Eric,
Thanks for the help. I'd already man diff and it doesn't read like it
applies only to files, but info tells me more :
`-I REGEXP'
`--ignore-matching-lines=REGEXP'
Ignore changes that just insert or delete lines that match REGEXP.
*Note Specified Lines::.
However - this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[Ugh - top-posting. Reformatted]
This is not cygwin specific. Read up on 'info diff' - the -X option is a
file listing patterns of FILENAMES to ignore when diffing directories,
not
LINES to ignore within file pairs being diffed. Try -I
All,
I was having some trouble using grep to look for text in files.
From some tests it looks like meta characters cause the problem to show
itself :
C:\temptype test.txt
text
C:\tempgrep test test.txt
text
C:\tempgrep text *.txt
test.txt:text
C:\tempgrep text \temp\test.txt
text
Hi Mark,
[EMAIL PROTECTED] wrote on Monday, June 14, 2004 9:47 AM:
I was having some trouble using grep to look for text in files.
From some tests it looks like meta characters cause the problem to
show itself :
C:\temptype test.txt
text
C:\tempgrep test test.txt
text
On Mon, Jun 14, 2004 at 10:29:13AM +0200, J?rg Schaible wrote:
I have upgraded to latest release of Cygwin and this has not
changed things. I have tried the above on a Windows 98 and
Windows XP system as well - same results.
Any ideas how I get around this problem ?
Learn the syntax.
From: [EMAIL PROTECTED]
Sent: Monday, June 14, 2004 9:47 AM
All,
I was having some trouble using grep to look for text in files.
From some tests it looks like meta characters cause the problem to show
itself :
Well, the meta characters has a different meaning for the cygwin/bash
Hannu E K Nevalainen schrieb:
From: [EMAIL PROTECTED]
Sent: Monday, June 14, 2004 9:47 AM
I was having some trouble using grep to look for text in files.
From some tests it looks like meta characters cause the problem to show
itself :
To get more info regarding the use/setup of rxvt+bash: Use
9 matches
Mail list logo