OT: scripting, removing trailing ^L

William James McEachran billmc at dataffinity.com
Fri Dec 23 08:19:16 PST 2005


Slightly off-topic.
The data comes from filePro, some of it passes thru 'gnuplot', and in
the end the gnuplot graph is incorporated into the filepro output form.
The whole thing then is converted with 'pcl6'/ghostpcl into a PDF file
Result, a PDF file with data & a graph.

gnuplot adds an unneed "^L" to the end of the graph pcl file. I've got
to come up with a way to remove just this one character at the end of the
file.  I've got a mental block on removing just the final character.

sed? awk?
-- 
Bill McEachran


More information about the Filepro-list mailing list