Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bashforth - how to - SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
parramata
n00b
n00b


Joined: 25 Jul 2004
Posts: 18

PostPosted: Fri Jul 29, 2016 1:35 am    Post subject: Bashforth - how to - SOLVED Reply with quote

Bashforth - How to use the "system" and "system2" words?

The "doc system" command returns:
system ( a n1 -- n2 )
shell, string is command + arguments. returns exit code

and "doc system2" :
system2 ( a1 n1 a2 n2 -- n3 )
shell, append a2 n2 as arguments to command a1 n1, returns exit code

Can I use this words to do some data manipulation on bashforth and send
to bash to use in other scripts? Is this the idea of these commands?

Thanks!

Well, this is what i've found:
: teste s" ls -lh " system ;
The test word will execute the list command in the bashforth!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum