retroforth/example/delete-file.retro

14 lines
168 B
Forth
Raw Normal View History

#!/usr/bin/env retro
This will delete the file specified on the command
line.
Example:
./delete-file.retro /tmp/foo
~~~
#0 script:get-argument file:delete
~~~