Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 20 Feb 2003 07:30:02 -0500 From: Jason Tishler Subject: Re: procmail and NTSEC In-reply-to: <20030220114914.GI296@NBOF> To: cygwin AT cygwin DOT com Mail-followup-to: cygwin AT cygwin DOT com Message-id: <20030220123002.GB1744@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <20030215152030 DOT GA1916 AT cisco DOT com> <001a01c2d505$ea7ae2f0$78d96f83 AT pomello> <20030215160221 DOT GA1232 AT cisco DOT com> <002801c2d50c$996b11d0$78d96f83 AT pomello> <20030215213459 DOT GA1032 AT cisco DOT com> <20030216085449 DOT A9196 AT ms> <20030216021121 DOT GA3884 AT cisco DOT com> <20030220114914 DOT GI296 AT NBOF> Olaf, On Thu, Feb 20, 2003 at 12:49:14PM +0100, Olaf Foellinger wrote: > together with a home brewed lpr. ^^^^^^^^^^^^^^^ Hmm... I'm getting that deja vu feeling: http://cygwin.com/ml/cygwin/2002-06/msg00581.html http://sources.redhat.com/ml/cygwin/2000-10/msg00242.html Specifically, compare "your" lpr: > #!/bin/bash > > Server=SESABLN1 > Printer=HPLJ4050_R6 > ProgramName=$(basename $0) > WinDir=$(cygpath -u $WINDIR) > Lpr=$WinDir/system32/lpr > > TempFile=/tmp/$ProgramName.$$ > WinTempFile=$(cygpath -w $TempFile) > > cat >$TempFile > $Lpr -S $Server -P $Printer "$WinTempFile" > Status=$? > > rm -fr $TempFile > exit $Status to mine: On Fri, 6 Oct 2000 08:01:01 -0400, Jason Tishler wrote: > #!/bin/bash > > Server=prodserv > Printer=eng-duplex > ProgramName=$(basename $0) > WinDir=$(cygpath -u $WINDIR) > Lpr=$WinDir/system32/lpr > > TempFile=/tmp/$ProgramName.$$ > WinTempFile=$(cygpath -w $TempFile) > > cat >$TempFile > $Lpr -S $Server -P $Printer "$WinTempFile" > Status=$? > > rm -fr $TempFile > exit $Status Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/