On Fri 26 Mar 2010 at 08:49:08 PDT Charlie Kester wrote:
Understand how this works, however, so you won't need to look it up
again, but can apply it yourself in whatever variation is needed. It's
called brace expansion.

For extra credit, and to test your understanding, see if you can explain
how the following work:

$ mkdir -p FOO/{foo-,bar-}{1,2,3}

$ cp foo{,.bak}

Others might have some even more complicated examples worth exploring.

(It sucks, btw, that most of what Google finds pertaining to brace
expansion is about bash, when the feature was actually introduced by
csh.)
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to