diff question

Eric Cope eric.cope at gmail.com
Mon Oct 22 13:59:09 MST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20121022/32c292e5/attachment.html>


More information about the PLUG-discuss mailing list