All pastes #329003 Raw Edit

Unnamed

public text v1 · immutable
#329003 ·published 2007-01-26 08:56 UTC
rendered paste body


: str<> str= 0= ;
: free-string drop free throw ;

: type-until: ( "delimiter" "...<\n"delimiter">" -- )
    parse-word save-mem
    begin 0 parse 2over 2over str<> while
	    type refill if cr then repeat
    2drop free-string ;

type-until: EOF
The first line,
and "the second"
-- a third line, and here's EOF:
EOF