Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
lines = ["==========================================",
|
||||
"| ---------- Ice and Fire ------------ |",
|
||||
"| |",
|
||||
"| fire, in end will world the say Some |",
|
||||
"| ice. in say Some |",
|
||||
"| desire of tasted I've what From |",
|
||||
"| fire. favor who those with hold I |",
|
||||
"| |",
|
||||
"| ... elided paragraph last ... |",
|
||||
"| |",
|
||||
"| Frost Robert ----------------------- |",
|
||||
"=========================================="]
|
||||
|
||||
for line in lines
|
||||
oldLine = line.split
|
||||
newLine = []
|
||||
while oldLine
|
||||
// the line below line retains the outer box format
|
||||
newLine.push oldLine.pop
|
||||
// alternate format, replace above line with below two lines below to strip all superfluous spaces
|
||||
// word = oldLine.pop
|
||||
// if word != "" then newLine.push word
|
||||
end while
|
||||
print newLine.join
|
||||
end for
|
||||
Loading…
Add table
Add a link
Reference in a new issue