On Thu, 2007-03-29 at 13:51, Charles Steinkuehler wrote: > Looks like they're using extended pattern matching (the +([0-9]) > portions of the rm statement, which will match any number of digits). > > To make bash happy with this syntax, set extglob to on with: > > shopt -s extglob > > before trying to run the lock_unlock code.
Charles, It worked like a charm, once I remembered child bash scripts don't inherit environment variables from the parent. I placed the shopt command in lock_unlock, and all is well. :-) KP, I think I had a successful build of our guides. Please check to see if I'm correct. Everyone, I need to make a few more modifications to the shell script before I commit the working version to cvs. I apologize for taking so long to accomplish this task. -- Mike Noyes <mhnoyes at users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ SF.net Projects: leaf, sitedocs ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel