aboutsummaryrefslogtreecommitdiff
path: root/lib/os.nom
diff options
context:
space:
mode:
Diffstat (limited to 'lib/os.nom')
-rw-r--r--lib/os.nom9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/os.nom b/lib/os.nom
index 916f18c..87b3426 100644
--- a/lib/os.nom
+++ b/lib/os.nom
@@ -2,21 +2,12 @@
#
This file defines some actions that interact with the operating system and filesystem.
-test:
- assume (nomsu files for "core")
-
externally (files for $path) means:
$files = (=lua "Files.list(\$path)")
if $files:
$files = (List $files)
return $files
-externally (nomsu files for $path) means:
- for $nomsupath in ($package.nomsupath, all matches of "[^;]+"):
- $files = (files for "\($nomsupath)/\$path")
- if $files:
- return $files
-
externally (=sh $cmd) means:
lua> ("
local result = io.popen(\$cmd)