From 7e71a638561c0a3aac77b7782c57c855909a4748 Mon Sep 17 00:00:00 2001 From: Kilian Ciuffolo <385716+kilianc@users.noreply.github.com> Date: Wed, 22 May 2024 09:14:33 -0700 Subject: [PATCH] Update src/std/main.ab Co-authored-by: Phoenix Himself --- src/std/main.ab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/std/main.ab b/src/std/main.ab index ba67cdf7..f5c19f69 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 trimmed}"$ + unsafe $read -rd '' -a {nameof result} <<<"\${nameof text}"$ return result }