aboutsummaryrefslogtreecommitdiff
path: root/lib/os.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-07-18 01:27:56 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-07-18 01:28:17 -0700
commitd5cfaa37be9e278c44a25ef448a071390597306e (patch)
tree7fbe78b5153bb9c761c283533943ab80da3a1844 /lib/os.nom
parentc7c657d38f999901225b33482ef3a15994526feb (diff)
Upgrading to version 2.3 (main change: "=" instead of "<-" for
assignment)
Diffstat (limited to 'lib/os.nom')
-rw-r--r--lib/os.nom9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/os.nom b/lib/os.nom
index 8c6a153..57dac26 100644
--- a/lib/os.nom
+++ b/lib/os.nom
@@ -1,4 +1,4 @@
-#!/usr/bin/env nomsu -V2.2.4.3
+#!/usr/bin/env nomsu -V2.3.4.3
#
This file defines some actions that interact with the operating system and filesystem.
@@ -39,8 +39,5 @@ action [..]
..:
lua> "local file = io.open(\%filename, 'w')\nfile:write(\%text)\nfile:close()"
-action [line number of %pos in %str] (..)
- =lua "files.get_line_number(\%str, \%pos)"
-
-action [line %line_num in %str] (..)
- =lua "files.get_line(\%str, \%line_num)"
+action [line number of %pos in %str] (=lua "files.get_line_number(\%str, \%pos)")
+action [line %line_num in %str] (=lua "files.get_line(\%str, \%line_num)") \ No newline at end of file