title: git configuration file for diffing docx
body: <p>I wanted to be able to diff docx file and found that using the following code we are able to extract the text from docx files.
  <code>unzip -p some.docx word/document.xml | sed -e 's/&lt;[^&gt;]\{1,\}&gt;//g; s/[^[:print:]]\{1,\}//g' | fold -w 80</code></p>
  
  <p>However, I am struggling to include this into the gitattribute file.
  Can someone comment on how this line needs to be modified so that git uses the current file instead of the hardlink to the docx file</p>
  
  <p>I have tried the following in git config but it causes an error:</p>
  
  <p><code>[diff "word"]
        textconv= unzip -p $LOCAL | sed -e 's/&lt;[^&gt;]\{1,\}&gt;//g; s/[^[:print:]]\{1,\}//g' |</code> </p>