Clean up the {} syntax and add a note about it.

This commit is contained in:
Ashley Harvey
2020-02-23 15:39:57 -08:00
parent b6f6777236
commit dec70a88ea

View File

@@ -73,7 +73,9 @@ cp readme.txt readme.bak.txt
``` ```
More advanced: More advanced:
```shell ```shell
cp readme{.bak}.txt cp readme{,.bak}.txt
# Note: learn how the {} works with touch foo{1,2,3}.txt and
see what happens.
``` ```
## copy a folder ## copy a folder