From AOLserver Wiki
- ns_unlink - Remove a file
- ns_unlink ?-nocomplain? filename
- This command attempts to remove the file filename. If -nocomplain is not passed in and the removal fails, a Tcl error is generated.
- This is a legacy command from when Tcl did not have this functionality. It is now recommended you use Tcl's file delete command instead. In other words, this:
is equivalent to:
file delete /tmp/foo
# can't think of a non-trivial example here