diff --git a/src/std/main.ab b/src/std/main.ab index 58457f42..ba67cdf7 100644 --- a/src/std/main.ab +++ b/src/std/main.ab @@ -43,7 +43,7 @@ pub fun lines(text: Text): [Text] { pub fun words(text: Text): [Text] { let result = [Text] let trimmed = trim(text) - unsafe $IFS=\$' ' read -rd '' -a {nameof result} <<<"\${nameof text}"$ + unsafe $IFS=\$' ' read -rd '' -a {nameof result} <<<"\${nameof trimmed}"$ return result }