in reply to Extracting Text from a Binary File

man strings? (See also the PPT implementations)

Replies are listed 'Best First'.
strings !
by perlAffen (Sexton) on Dec 14, 2005 at 18:24 UTC
    I like shell strings, so maybe I can use the PPT, however what I really need to do is 'tail' the file, like tail -f, where new lines are printed, but rather than get the new lines at the end of the file as they are added, I need to 'pull' them out bewteen the binary boundaries. Think that is doable ?? Actually I found the binary junk to only be at the bottom. so it goes like this

    text1
    text2
    JUNKJUNKJUNK

    a line is added

    text1
    text2
    text3
    JUNKJUNKJUNK