diff question

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Eric Cope
Date:  
To: Main PLUG discussion list
Subject: diff question
Hi all,
I am trying to diff between two sets of files. I want to ignore comments
(lines that start with //).
I've tried

- diff -I "//" file1 file2
- diff -I "\/\/" file1 file2
- diff -I "//.* file1 file2

among others. Has anyone successfully used diff and its ignore option?

Thanks,
Eric
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss