diff options
author | Steve Bennett <steveb@workware.net.au> | 2010-01-27 14:16:37 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-15 11:02:46 +1000 |
commit | 8ca4eb0a1561cdd3ccd92d797cc744b6f8b0ea8d (patch) | |
tree | 85a3de8ee319dbc2b1a4f89d06e4da5c801b9451 /doc/jim_tcl.txt | |
parent | 88694720353f9c0ad65f8e2ce31d5e1b645474d6 (diff) | |
download | jimtcl-8ca4eb0a1561cdd3ccd92d797cc744b6f8b0ea8d.zip jimtcl-8ca4eb0a1561cdd3ccd92d797cc744b6f8b0ea8d.tar.gz jimtcl-8ca4eb0a1561cdd3ccd92d797cc744b6f8b0ea8d.tar.bz2 |
Add support for 'file copy'
Diffstat (limited to 'doc/jim_tcl.txt')
-rw-r--r-- | doc/jim_tcl.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/jim_tcl.txt b/doc/jim_tcl.txt index 281817b..a5722ea 100644 --- a/doc/jim_tcl.txt +++ b/doc/jim_tcl.txt @@ -75,6 +75,7 @@ Since v0.61: 13. Allow 'catch' to determine what return codes are caught 14. Allow 'incr' to increment an unset variable by first setting to 0 15. Allow 'args' and optional arguments to the left or required arguments in 'proc' +15. Add 'file copy' TCL INTRODUCTION ----------------- @@ -1843,6 +1844,10 @@ abbreviation for *option* is acceptable. The valid options are: If the file doesn't exist or its access time cannot be queried then an error is generated. ++*file copy ?-force?* 'source target'+:: + Copies file *source* to file *target*. The source file must exist. + The target file must not exist, unless *-force* is specified. + +*file delete* 'name'+:: Deletes file *name*. If the file doesn't exist, nothing happens. If the file can't be deleted, an error is generated. |