diff question -- Thanks!
joe at actionline.com
joe at actionline.com
Mon Oct 22 16:50:45 MST 2012
Thanks Joseph. I *really* appreciate tips like this.
Tremendously helpful!
---------------------
Joseph Sinclair wrote:
> I assume what you really want is to ignore all comment lines completely
> (not just changes to comment lines).
> Diff won't do this directly, but that's what [named] pipes are for :)
>
> try this:
> diff <(grep -v '^//' file1) <(grep -v '^//' file2)
More information about the PLUG-discuss
mailing list