title: cut : use "/" as a delimiter
body: <p>I am trying to use the cut command in my bash script. I need to get the name of a rpm package containing 'sys' in its name, without its full path. So I tried this:</p>
  
  <pre><code>packageName=$(find temp/noarch/ -name '*sys*noarch.rpm' | cut -d "\/" -f 3)
  </code></pre>
  
  <p>I thought this way could return the package's name without the temp/noarch/, but it only tells me.</p>
  
  <p>I know i could just remove the substring <code>"temp\/noarch\/"</code>, but i'd like to make it with cut.</p>