Handbook
Glossary
parse-list-11 ( lines -- seq )
Vocabulary
ftp
.
client
.
listing-parser
Inputs
lines
an
object
Outputs
seq
an
object
Definition
USING:
accessors
combinators
kernel
math.parser
sequences
;
IN:
ftp.client.listing-parser
:
parse-list-11
( lines -- seq )
[
11
f
pad-tail
<remote-file>
swap
{
[
0
swap
nth
parse-permissions
]
[
1
swap
nth
string>number
>>links
]
[
2
swap
nth
>>owner
]
[
3
swap
nth
>>group
]
[
4
swap
nth
string>number
>>size
]
[
5
swap
nth
>>month
]
[
6
swap
nth
>>day
]
[
7
swap
nth
>>time
]
[
8
swap
nth
>>name
]
[
10
swap
nth
>>target
]
}
cleave
]
map
;