title: using a user defined bash function in xargs
body: <p>I have this self-defined function in my .bashrc :</p>
  
  <pre><code>function ord() {
    printf '%d' "'$1"
  }
  </code></pre>
  
  <p>How do I get this function to be used with xargs ?:</p>
  
  <pre><code>cat anyFile.txt | awk '{split($0,a,""); for (i=1; i&lt;=100; i++) print a[i]}' | xargs -i ord {}
  xargs: ord: No such file or directory
  </code></pre>