http://nickpisca.com/BLAST/index.php?title=MELRandomRename&feed=atom&action=history
MELRandomRename - Revision history
2024-03-28T09:13:58Z
Revision history for this page on the wiki
MediaWiki 1.28.1
http://nickpisca.com/BLAST/index.php?title=MELRandomRename&diff=226&oldid=prev
Nickpisca: Created page with " global proc RandomRename(string $SearchStr, string $ReplStr) { //Bernice Ngo and Nick Pisca 2010 string $VMF_Obj[] = `ls -tr $SearchStr`; int $VMF_ObjSize = `size($V..."
2017-04-22T07:17:13Z
<p>Created page with " global proc RandomRename(string $SearchStr, string $ReplStr) { //Bernice Ngo and Nick Pisca 2010 string $VMF_Obj[] = `ls -tr $SearchStr`; int $VMF_ObjSize = `size($V..."</p>
<p><b>New page</b></p><div> global proc RandomRename(string $SearchStr, string $ReplStr) {<br />
//Bernice Ngo and Nick Pisca 2010<br />
string $VMF_Obj[] = `ls -tr $SearchStr`;<br />
int $VMF_ObjSize = `size($VMF_Obj)`;<br />
if ($VMF_ObjSize != 0) {<br />
int $random = rand (0, $VMF_ObjSize);<br />
rename $VMF_Obj[$random] $ReplStr ;<br />
}<br />
}<br />
<br />
<br />
<br />
[[Category:MEL]]</div>
Nickpisca