1 \ this is the splitfunc testsuite.
3 \ run it with paflof < splitfunc-testsuite.fs 2>/dev/null
5 \ implements split-before, split-after and left-split
6 \ as described in 4.3 (Path resolution)
8 s" splitfunc.fs" included
11 s" var/log/messages" 2dup
13 cr ." split-before test:" cr
14 2dup ." String: " type cr
17 ." initial: " type cr ." remainder:" type cr
19 ." split-after test:" cr
22 ." initial: " type cr ." remainder:" type cr
30 ." initial: " type cr ." remainder:" type cr
34 ." initial: " type cr ." remainder:" type cr