Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-19-2014, 01:33 AM   #1
prysm
Junior Member
prysm began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2014
Device: PW
where is ed and bc in my kindle paperwhite

Hi all

I was trying to use my desktop scripts that calls ed and bc and I cant seem to find those commands. I was wondering if I was just looking in the wrong place or they are not really part of the default kindle commands.

regards
prysm
prysm is offline   Reply With Quote
Old 05-19-2014, 06:11 AM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I'm pretty sure that bc isn't shipped, and everything should be in the PATH anyway, so that's probably also the case for ed.

Depending on what you intend to do, you might be able to get away with shell + sed / awk.
NiLuJe is offline   Reply With Quote
Advert
Old 05-19-2014, 06:14 AM   #3
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
And keep in mind that your desktop scripts are probably written for Bash and the Kindles run (an old version of) Ash.
knc1 is offline   Reply With Quote
Old 05-19-2014, 06:25 AM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
And keep in mind that it was even worse in previous models in that regard (which might not matter to you, but matters to those of us writing stuff that should run across all current models) ;p.
NiLuJe is offline   Reply With Quote
Old 05-19-2014, 09:24 AM   #5
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
on your desktop, do:
Code:
core2quad ~ $ ash --version

The program 'ash' is currently not installed.  You can install it by typing:
sudo apt-get install ash
That is actually a "good thing" in this case.

Now try:
Code:
core2quad ~ $ busybox ash


BusyBox v1.18.4 (Ubuntu 1:1.18.4-2ubuntu2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $
Ah, so - there it is, a prompt from the busybox ash shell.

If you need an older version of the bb-ash shell, then see:
http://www.busybox.net/source.html

*) clone the repo
*) "check out" an appropriate (older) bb release version
*) Build (just) the ash shell

And then use that to test your scripts "off Kindle".
knc1 is offline   Reply With Quote
Advert
Old 05-25-2014, 03:38 AM   #6
prysm
Junior Member
prysm began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2014
Device: PW
i copied over a 9base version of the tools. seems to work ok. thanks all
prysm is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
$20 off Kindle Touch and Kindle Paperwhite - Mar 4 only, US only? simplyparticular Deals and Resources (No Self-Promotion or Affiliate Links) 3 03-04-2014 09:45 PM
Porting Kindle Paperwhite OS to Kindle Keyboard mrzerga Kindle Developer's Corner 5 06-30-2013 10:44 AM
Amazon launches Kindle Paperwhite and Kindle Lending Library in Europe HarryT News 18 10-13-2012 10:24 AM
Differences between new Kindle Paperwhite and Kindle Touch. noisy Amazon Kindle 0 09-09-2012 08:42 PM
Amazon ad for Kindle Fire 2 and Kindle Paperwhite is out Top100EbooksRank News 1 09-06-2012 06:45 AM


All times are GMT -4. The time now is 06:29 AM.


MobileRead.com is a privately owned, operated and funded community.