Problem with pipe 
Author Message
 Problem with pipe

#! /local/bin/perl
#       This is my own lpr command mylpr
#doing something that I want.
# execute the real lpr

If I issue the following command

        %mylpr file

everthing is ok. However, when I issue

        %cat file |mylpr

the print out is not correct. I guess the problem is that the pipe is not

the initial part of the file is missing. Any idea on how to solve this problem?

  Thanks in advance.


Sat, 18 Feb 1995 06:26:43 GMT  
 [ 1 post ] 

 Relevant Pages 

1. problem with piping into perl

2. Problem reading piped stdin - please help.

3. Problem with pipes

4. Problem with piping to mail

5. Problem using pipes with MS-DOS perl.

6. Perl 3.0 PL28 problems with pipe()

7. Perl 3.0 PL28 problems with pipe() cont'd

8. problem with pipes in system calls

9. Problem with piping...

10. Newbie problem with pipes and blat

11. Problem opening pipe on SunOS 4.1.4

12. Problem with piped output on Win98


Powered by phpBB® Forum Software