Handbook
Glossary
unix-execute>string ( str bools -- str' )
Vocabulary
tools
.
files
.
unix
.
private
Inputs
str
an
object
bools
an
object
Outputs
str'
an
object
Definition
USING:
combinators
kernel
unicode
;
IN:
tools.files.unix.private
:
unix-execute>string
( str bools -- str' )
swap
{
{
{
t
t
}
[
>lower
]
}
{
{
t
f
}
[
>upper
]
}
{
{
f
t
}
[
drop
"x"
]
}
[
2drop
"-"
]
}
case
;