View Single Post
Old 04-06-2015, 08:48 AM   #15
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
See the dollar amounts following the program name:
Code:
/mnt/us/extensions/scroller/bin/scroller $1 $2 $3
Their technical name is ARG1, ARG2, ...

That script that you quote (runner.sh) also accepts arguments (in same order) and when it is run the script processor will make the substitution for you.

The Kindles use Ash rather than Bash as the command line processor, which are basically the same, see:
http://www.tldp.org/LDP/abs/abs-guide.pdf

Start at page 30, when you get to and complete the subject begun on page 36, you have the full answer.

Last edited by knc1; 04-06-2015 at 08:53 AM.
knc1 is offline   Reply With Quote