git.annexia.org
/
goals.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stdlib: Disable echo on split command.
[goals.git]
/
stdlib
/
prelude.gl
diff --git
a/stdlib/prelude.gl
b/stdlib/prelude.gl
index
04dde93
..
836b5c4
100644
(file)
--- a/
stdlib/prelude.gl
+++ b/
stdlib/prelude.gl
@@
-108,7
+108,7
@@
pure function sort (xs) returning strings = @{
# Split a string into a list.
# https://superuser.com/a/1066541
# Split a string into a list.
# https://superuser.com/a/1066541
-pure function split (s) returning strings = {
+pure function split (s) returning strings =
@
{
s=%s
eval 'for f in '$s'; do echo "$f"; done'
}
s=%s
eval 'for f in '$s'; do echo "$f"; done'
}