Differences between current version and previous revision of ManipulatingStrings.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 7 | Last edited on Monday, December 11, 2006 5:24:42 pm | by BenStaz | |
Older page: | version 6 | Last edited on Monday, December 11, 2006 1:09:23 pm | by BenStaz | Revert |
@@ -65,4 +65,16 @@
Another Example:
*echo ${string1}"Some more Text"
+
+!Brace Expansion
+
+*echo C{a,u,o}t
+
+Will return ''Cat Cut Cot''
+
+Another example of where this could be useful:
+
+*mkdir ~~/test/{cat,dog,rabbit}
+
+This will create a ''cat'' , ''dog'' and ''rabbit'' dir in ~~/test/