Skip to content

Commit

Permalink
Update src/std/main.ab
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianc authored May 22, 2024
1 parent a5d399f commit bfa1d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/std/main.ab
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit bfa1d51

Please sign in to comment.