title: Is it possible to use a string as a delimiter in unix cut command?
body: <p>If I want to cut a list of text using a string as a delimiter, is that possible?
  For example I have a directory where a list of shell scripts call same perl script say </p>
  
  <pre><code>abc.pl
  </code></pre>
  
  <p>So when I do </p>
  
  <pre><code>$grep abc.pl * 
  </code></pre>
  
  <p>in that directory, it gives me following results</p>
  
  <pre><code>xyz.sh: abc.pl 1 2
  xyz2.sh: abc.pl 2
  mno.sh: abc.pl 3
  pqr.sh: abc.pl 4 5
  </code></pre>
  
  <p>I basically want all the output after "abc.pl" (to check what range arguments are being passed to the perl right now)</p>
  
  <p>When I tried </p>
  
  <pre><code>$grep abc.pl * | cut -d'abc.pl' -f2
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>$grep abc.pl * | cut -d'abc\.pl' -f2
  </code></pre>
  
  <p>its giving me </p>
  
  <pre><code>cut: invalid delimiter
  </code></pre>
  
  <p>When I read man for cut it states</p>
  
  <blockquote>
    <p>delim can be a multi-byte character.</p>
  </blockquote>
  
  <p>What am I doing/interpreting wrong here?</p>