From owner-freebsd-questions@FreeBSD.ORG Tue Apr 5 17:26:28 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FB0216A4CE for ; Tue, 5 Apr 2005 17:26:28 +0000 (GMT) Received: from mail.efacilitas.de (efacilitas.de [213.133.110.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id A96F743D1F for ; Tue, 5 Apr 2005 17:26:27 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-39-77.dynamic.qsc.de [212.202.39.77]) by mail.efacilitas.de (Postfix) with ESMTP id 0DCE0123B8C; Tue, 5 Apr 2005 19:25:30 +0200 (CEST) Received: from localhost (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id 6B47B12B032; Tue, 5 Apr 2005 19:26:25 +0200 (CEST) Received: from eurystheus.local ([192.168.1.67]) by localhost (eurystheus.locaL [192.168.1.67]) (amavisd-new, port 10024) with ESMTP id 30305-06; Tue, 5 Apr 2005 19:26:21 +0200 (CEST) Received: from alpha (alpha.local [192.168.1.2]) by eurystheus.local (Postfix) with ESMTP id 7155D12B015; Tue, 5 Apr 2005 19:26:21 +0200 (CEST) From: =?iso-8859-1?B?Qmr2cm4gS/ZuaWc=?= To: , Date: Tue, 5 Apr 2005 19:27:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <63501.201.135.130.41.1112718721.squirrel@201.135.130.41> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcU5/c5Ea+8EhYgWTqCWjR7pEo1oggABlibQ Message-Id: <20050405172621.7155D12B015@eurystheus.local> X-Virus-Scanned: amavisd-new at example.com Subject: RE: shell question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2005 17:26:28 -0000 mrspock at esfm dot ipn dot mx wrote: > I need to concatenate the standard output and then standard=20 > error output in a file, but I need to convert the standard > output into PostScript before the concatenation. >=20 > program stdout 2> stderr > cat stdout > out > a2ps stdout >> out >=20 > a2ps is in the ports and it converts plain text into PostScript. >=20 > The problem is that I don't want to use the temporary file > that I used above (stdout, stderr, out), I just want a "filter" program < stdin 3>&1 1>&2 2>&3 | a2ps Regards Bj=F6rn