aboutsummaryrefslogtreecommitdiff
path: root/examples/ini
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-06 13:40:17 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-06 13:40:17 -0400
commit59845e610f2c90474f34079d27b5f1e07071ded4 (patch)
tree1066ab6c5c6e6620adda6ac4575703b9d4bf0a0a /examples/ini
parent95633b1cc2da5294d9aec8c7eb9fca9a15c1a8bf (diff)
Deprecate `!!` print statement
Diffstat (limited to 'examples/ini')
-rw-r--r--examples/ini/ini.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ini/ini.tm b/examples/ini/ini.tm
index d67dd0d5..cee33f3c 100644
--- a/examples/ini/ini.tm
+++ b/examples/ini/ini.tm
@@ -41,7 +41,7 @@ func main(path:Path, key:Text?):
data := parse_ini(path)
if keys.length < 1 or keys[1] == '*':
- !! $data
+ say("$data")
return
section := keys[1]:lower()
@@ -50,7 +50,7 @@ func main(path:Path, key:Text?):
Valid names: $\[1]$(", ":join([k:quoted() for k in data.keys]))$\[]
")
if keys.length < 2 or keys[2] == '*':
- !! $section_data
+ say("$section_data")
return
section_key := keys[2]:lower()