fixing things
This commit is contained in:
parent
b271527f9c
commit
0bdbd25411
@ -1,38 +0,0 @@
|
|||||||
Jabberwocky
|
|
||||||
|
|
||||||
'Twas brillig, and the slithy toves
|
|
||||||
Did gyre and gimble in the wabe:
|
|
||||||
All mimsy were the borogoves,
|
|
||||||
And the mome raths outgrabe.
|
|
||||||
|
|
||||||
'Beware the Jabberwock, my son!
|
|
||||||
The jaws that bite, the claws that catch!
|
|
||||||
Beware the Jubjub bird, and shun
|
|
||||||
The frumious Bandersnatch!'
|
|
||||||
|
|
||||||
He took his vorpal sword in hand:
|
|
||||||
Long time the manxome foe he sought --
|
|
||||||
So rested he by the Tumtum tree,
|
|
||||||
And stood a while in thought.
|
|
||||||
|
|
||||||
And, as in uffish thought he stood,
|
|
||||||
The Jabberwock, with eyes of flame,
|
|
||||||
Came whiffling through the tulgey wood,
|
|
||||||
And burbled as it came!
|
|
||||||
|
|
||||||
One two! One two! And through and through
|
|
||||||
The vorpal blade went snicker-snack!
|
|
||||||
He left it dead, and with its head
|
|
||||||
He went galumphing back.
|
|
||||||
|
|
||||||
'And hast thou slain the Jabberwock?
|
|
||||||
Come to my arms, my beamish boy!
|
|
||||||
Oh frabjous day! Callooh! Callay!'
|
|
||||||
He chortled in his joy.
|
|
||||||
|
|
||||||
'Twas brillig, and the slithy toves
|
|
||||||
Did gyre and gimble in the wabe:
|
|
||||||
All mimsy were the borogoves,
|
|
||||||
And the mome raths outgrabe.
|
|
||||||
|
|
||||||
Lewis Carroll
|
|
@ -1,4 +1,4 @@
|
|||||||
#!@OOREXX_SHEBANG_PROGRAM@
|
#!/usr/bin/env rexx
|
||||||
/*----------------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------------*/
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (c) 2005-2021 Rexx Language Association. All rights reserved. */
|
/* Copyright (c) 2005-2021 Rexx Language Association. All rights reserved. */
|
||||||
@ -50,7 +50,9 @@ queue = .workqueue~new
|
|||||||
|
|
||||||
-- our inputs and outputs
|
-- our inputs and outputs
|
||||||
-- (we use jabberwocky.txt from the same samples directory)
|
-- (we use jabberwocky.txt from the same samples directory)
|
||||||
input = .stream~new(.File~new("jabberwocky.txt", .File~new(.context~package~name)~parent))
|
home = SysGetpwnam("gmgauthier", "d")
|
||||||
|
project_root = home||"/Projects/rexx-things/projects"
|
||||||
|
input = .stream~new(.File~new(project_root||"/jabberwocky.txt", .File~new(.context~package~name)~parent))
|
||||||
output = .output
|
output = .output
|
||||||
|
|
||||||
-- the file reader reads lines from the input stream and writes to
|
-- the file reader reads lines from the input stream and writes to
|
||||||
@ -140,3 +142,7 @@ writer = .filewriter~new(output, queue)
|
|||||||
-- write to the stream
|
-- write to the stream
|
||||||
stream~lineout(item)
|
stream~lineout(item)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
EXIT
|
||||||
|
|
||||||
|
::requires "rxunixsys" LIBRARY
|
Loading…
Reference in New Issue
Block a user