Results 1 to 1 of 1
Hi all
i am new to linux programming. I ve a piece of code in my application and it sends some control codes present in the SEDFILE to printer.
can ...
- 02-27-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 3
Sed usage
Hi all
i am new to linux programming. I ve a piece of code in my application and it sends some control codes present in the SEDFILE to printer.
can anyone explain me how this line will execute?
printer lpt1 unix "cat <&0 | sed -f <SEDFILE> | lp -dprinter2
the SEDFILE contains the following lines
s/\033E/\033(S3B/g
thanks in advance


Reply With Quote