Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
( " apples, pears # and bananas
|
||||
oranges, mangos ; and a durian"
|
||||
: ?text
|
||||
& :?newText
|
||||
& ( non-blank
|
||||
= %@:~(" "|\t|\r|\n)
|
||||
)
|
||||
& ( cleanUp
|
||||
=
|
||||
. @(!arg:?arg ("#"|";") ?)
|
||||
& @(rev$!arg:? (!non-blank ?:?arg))
|
||||
& @(rev$!arg:? (!non-blank ?:?arg))
|
||||
& !arg {You could write & "[" !arg "]" to prove that the blanks are stripped.}
|
||||
)
|
||||
& whl
|
||||
' ( @(!text:?line (\r|\n) ?text)
|
||||
& !newText \n cleanUp$!line:?newText
|
||||
)
|
||||
& !newText \n cleanUp$!text:?newText
|
||||
& out$(str$!newText)
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue