On Fri, 15 Oct 2004, Le Dréau Philippe wrote:
> Hello :
> My problem : I'd like to ignore the lines beginning with --
> $ diff -I '^--' test1.txt test2.txt
> 1,3c1,3
> < 1when
> < --I want ?
> < #ok nok
> ---
> > 2when
> > --I want
> > #ok
>
> [snip]
> The lines are in the output, why ?
"man diff
Hello :
My problem : I'd like to ignore the lines beginning with --
$ diff -I '^--' test1.txt test2.txt
1,3c1,3
< 1when
< --I want ?
< #ok nok
---
> 2when
> --I want
> #ok
5,6c5,6
< 2
< 3
---
> 4
> 5
8c8
< test 2
---
> test x
The lines are in the output, why ? I obtain the same thig with the follo
2 matches
Mail list logo