0
如何在unix diff中排除以下行?如何在unix diff中排除這一行?
<xs:element attribute1="0" attribute2="return" attribute3="true" type="ax277:ResponseDataBean"/>
我需要排除'ax'之後的數字不同的所有情況。例如,下面的差異應該被排除:
文件1:
<xs:element attribute1="0" attribute2="return" attribute3="true" type="ax277:ResponseDataBean"/>
文件2:
<xs:element attribute1="0" attribute2="return" attribute3="true" type="ax111:ResponseDataBean"/>
我曾嘗試:
DIFF -I「類型=「斧頭^'file1 file2
但它仍在顯示那些行