Bash select random string from list
<p>I have a list of strings that I want to select one of them at random each time I launch the script.</p>

<p>For example</p>

<pre><code>SDF_BCH_CB="file1.sdf"
SDF_BCH_CW="file2.sdf"
SDF_BCH_RCB="file3.sdf"
SDF_BCH_RCW="file4.sdf"
SDF_TT="file5.sdf"
</code></pre>

<p>Then I want to be randomly select from the above list to assign the following two variables.</p>

<pre><code>SDFFILE_MIN=$SDF_BCH_CW
SDFFILE_MAX=$SDF_TT
</code></pre>

<p>How can I do this ?</p>

<p>Thanks</p>