From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1127 Path: news.gmane.org!not-for-mail From: B S Srinidhi Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: problems with QMAILQUEUE and reading stdin Date: Mon, 29 May 2006 17:49:02 +0530 Organization: DeepRoot Linux Pvt. Ltd. Message-ID: <1148905142.19941.57.camel@avirat> References: <20060529015814.GA15937@run.galis.org> <1148880181.19941.3.camel@avirat> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1148905131 10941 80.91.229.2 (29 May 2006 12:18:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 May 2006 12:18:51 +0000 (UTC) Original-X-From: supervision-return-1363-gcsg-supervision=m.gmane.org@list.skarnet.org Mon May 29 14:18:47 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1Fkghg-000208-QK for gcsg-supervision@gmane.org; Mon, 29 May 2006 14:18:38 +0200 Original-Received: (qmail 17192 invoked by uid 76); 29 May 2006 12:18:58 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 17186 invoked from network); 29 May 2006 12:18:57 -0000 X-Spam-Status: No, hits=-1.2 required=4.0 X-Spam-Report: SA TESTS 0.2 SARE_SUB_OBFU_Q1 FVGT - subject contains odd letter combination -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP X-deepOfix-Mail-Filter-Mail-From: srinidhi@deeproot.co.in via anubhav X-deepOfix-Mail-Filter: 1.25st (Clear:RC:0(192.168.1.15):SA:0(-1.2/4.0):. Processed in 5.605155 secs Process 1877) Original-To: supervision@list.skarnet.org In-Reply-To: X-Mailer: Evolution 2.6.1 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1127 Archived-At: On Mon, 2006-05-29 at 08:11 -0400, Charlie Brady wrote: > Why run cat unnecessarily (and depend on /dev/stdin which only sometimes > exists)? > > Try: > > tmp=$pq/$(/usr/pkg/bin/safecat "$pq/tmp" "$pq") hmm... Yeah you are right. :) But is the above thing portable? I mean, would this work with shells other than BASH? Srinidhi. -- ASCII ribbon campaign ( ) B S Srinidhi - against HTML email X http://srinidhi.deeproot.co.in & vCards / \ DeepRoot Linux