Re: A piping problem

1998-12-07 Thread Rob Collins
On Sun, 6 Dec 1998, Joseph Hartmann wrote: > #!perl > while(){chop $_; print "$_\r\n";}; > > I can give the command "less /usr/local/bin/printer.staircase.filer" > to bash, and get a listing of the file -- it really IS there. > > But when I try to pipe stuff into the filter with the following

Re: A piping problem

1998-12-07 Thread Joseph Hartmann
X-Authentication-Warning: kovax.ml.org: kovacsp owned process doing -bs Date: Sun, 6 Dec 1998 22:01:21 -0500 (EST) From: Peter Kovacs <[EMAIL PROTECTED]> X-Sender: [EMAIL PROTECTED] cc: debian-user@lists.debian.org MIME-Version: 1.0 Con

Re: A piping problem

1998-12-07 Thread Peter Kovacs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 6 Dec 1998, Joseph Hartmann wrote: > #!perl > while(){chop $_; print "$_\r\n";}; Change "perl" to the full path to perl. I don't think the shebang notation has a path associated with it. Peter - --- Peter D. Kovacs UIN:

A piping problem

1998-12-07 Thread Joseph Hartmann
I created a file: /usr/local/bin/printer.staircase.filter This file consists of two lines: #!perl while(){chop $_; print "$_\r\n";}; I made it executable. It is owned by root. This file is an attempt to write a filter to eliminate the staircase effect (i.e. no CR after a LF) on my dot-matrix l