From f51acef40e8297d7bd41b774413aa8331ca946ed Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 15 Mar 2025 14:22:11 -0400 Subject: Overhaul of Path so it uses root and array of components instead of stringly typed --- examples/wrap/wrap.tm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/wrap') diff --git a/examples/wrap/wrap.tm b/examples/wrap/wrap.tm index 94d752bd..c90713a9 100644 --- a/examples/wrap/wrap.tm +++ b/examples/wrap/wrap.tm @@ -82,7 +82,7 @@ func main(files:[Path], width=80, inplace=no, min_split=3, rewrap=yes, hyphen=UN files = [(/dev/stdin)] for file in files: - text := file:read() or exit("Could not read file: $(file.text)") + text := file:read() or exit("Could not read file: $file") if rewrap: text = unwrap(text) -- cgit v1.2.3