Quote:
Originally Posted by knc1
Check if the copy of dd you are using supports the seek= and skip= options.
Those would give you access to the last (or other selected) line.
skip= for skipping the un-wanted lines on a fb read.
seek= to seek past the un-changed lines on a fb write.
|
Huh?
If you look at almost any script I have published that uses the framebuffer, I have been using dd skip and seek parameters, so apparently they *do* work. You can check if they are supported by typing "dd" with no parameters, to see usage. I have never yet seen any dd anywhere (even limited busybox versions) without both of those parameters. They are the main critical parameters (along with bs, count, if, and of) that distinguish "dd" from "cat".
And if what I said was that unclear, let me restate it: "dd" works great, but binary files copied with "cat" do not make good copies in all cases. I was just warning people to use dd instead. The busybox version of "cat" in some kindles may have a bug that makes it process embedded special characters even when its output is redirected. It seems that any time I try to reduce my text output word count, I get these confusing replies.