Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Delete-a-file/J/delete-a-file-1.j
Normal file
8
Task/Delete-a-file/J/delete-a-file-1.j
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
load 'files'
|
||||
ferase 'input.txt'
|
||||
ferase '\input.txt'
|
||||
ferase 'docs'
|
||||
ferase '\docs'
|
||||
|
||||
NB. Or all at once...
|
||||
ferase 'input.txt';'/input.txt';'docs';'/docs'
|
||||
4
Task/Delete-a-file/J/delete-a-file-2.j
Normal file
4
Task/Delete-a-file/J/delete-a-file-2.j
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
NB. =========================================================
|
||||
NB.*ferase v erases a file
|
||||
NB. Returns 1 if successful, otherwise _1
|
||||
ferase=: (1!:55 :: _1:) @ (fboxname &>) @ boxopen
|
||||
4
Task/Delete-a-file/J/delete-a-file-3.j
Normal file
4
Task/Delete-a-file/J/delete-a-file-3.j
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
1!:55 <'input.txt'
|
||||
1!:55 <'\input.txt'
|
||||
1!:55 <'docs'
|
||||
1!:55 <'\docs'
|
||||
Loading…
Add table
Add a link
Reference in a new issue