Active Topics

 



Notices


Reply
Thread Tools
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#21
What you could do, until I (or someone) gets a chance to check back on the if-script solution, is to use that script (the one which does lf->cr/lf plus ctrl-D at the end) as a front filter, the way you tried that perl in-line script. E.g.:

cat myfile.txt | filter.pl | lpr

You can check that the cut&paste script works correctly with
perl -c filter.pl
which does a 'compile check' but doesn't execute the script.
Or even just the line above, without the final '| lpr'
(it should just print on-screen and look basically correct)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:20.