title: Globbing and regular expression prob with bash script
body: <p>I have a problem with my regex:</p>
  
  <p>My script is written in perl. </p>
  
  <pre><code>#!/usr/bin/perl
  
  # Inverse les colonnes 1 et 2
  while(&lt;&gt;){
      my @cols  = split (/\|/);
      print "$cols[-3]/$cols[-4]\n";
  }
  
  exit;
  </code></pre>
  
  <p>I create an alias using the command : </p>
  
  <pre><code>alias inverseur="perl /laboratoire10/inverseur_colonnes.pl
  </code></pre>
  
  <p>I am hoping to accomplish the following: </p>
  
  <p>Write a "bash" script that creates a file container for each movie title (.avi) in the file.</p>
  
  <p>The original file is: <a href="http://www.genxvideo.com/genxinventory-current.xls" rel="nofollow">http://www.genxvideo.com/genxinventory-current.xls</a>
  but I have since renamed it to liste_films.csv .</p>
  
  <p>All quotation marks, spaces, dashes, and other strange characters must be replaced by an underscore, "_". </p>
  
  <p>The group would become the directory name and the title of the movie will follow the file name suffix( .avi). In order to do this, the code must process the fields "title" and "class" in reverse. You can reverse the fields "title" and "class" with the alias "inverter" created earlier.</p>
  
  <p>The script will obviously create each directory in "/laboratoire10" before creating the .avi files. There should be 253 valid directories total. Directories are being created through a "|" with the command "xargs mkdir-pv /."</p>
  
  <p>I need help augmenting my current code with a command to find .avi files whose name contains the string min/maj "wood</p>