I had tested my example, and learned that I needed a semicolon after the last command. You may need a space inside the braces.
I'd suggest looking at the Advanced Bash Scripting Guide from the tldp.org web site. It consists of example scripts, and the beginning covers every symbol such as braces.
Last edited by jschiwal; 11-21-2012 at 08:15 PM.
|