From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <371e22e5a847b7aedc0581e764162c63@plan9.escet.urjc.es> To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: \n\n\n to \n\n From: Fco.J.Ballesteros In-Reply-To: <002501c2e329$97797940$2a8be793@gli.cas.cz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-aeaseuchnqqnsehkqlpdaicvft" Date: Wed, 5 Mar 2003 20:20:58 +0100 Topicbox-Message-UUID: 7a977fea-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-aeaseuchnqqnsehkqlpdaicvft Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit This is naive and dirty but it's what I use: I pass different `command lines' to sam by using different arguments. It can be done better for sure but I didn't bother. hth #!/bin/rc t=/tmp/ssam.$pid fn exit () { rm -f $t } cat > $t { for (c in $*) echo $c echo q } | sam -d $t >[2] /dev/null rm -f $t --upas-aeaseuchnqqnsehkqlpdaicvft Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by aquamar; Wed Mar 5 18:20:45 MET 2003 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.30.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 237EB19AA9; Wed, 5 Mar 2003 12:19:22 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from XMAIL.asuch.cas.cz (clusterb.asuch.cas.cz [147.231.136.17]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id BF80019A91 for <9fans@cse.psu.edu>; Wed, 5 Mar 2003 10:12:09 -0500 (EST) Received: from picture ([147.231.139.42]) by XMAIL.asuch.cas.cz over TLS secured channel with Microsoft SMTPSVC(5.0.2195.5329); Wed, 5 Mar 2003 16:12:09 +0100 Message-ID: <002501c2e329$97797940$2a8be793@gli.cas.cz> From: "peter a. cejchan" To: <9fans@cse.psu.edu> Organization: paleobiology & paleoecology lab MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0022_01C2E331.F91327C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-OriginalArrivalTime: 05 Mar 2003 15:12:09.0416 (UTC) FILETIME=[9777A480:01C2E329] Subject: [9fans] Re: \n\n\n to \n\n Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Wed, 5 Mar 2003 16:12:09 +0100 This is a multi-part message in MIME format. ------=_NextPart_000_0022_01C2E331.F91327C0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable > And of course you can always wrap sam in a script just to > pretend that you have ssam. could someone show me , how? sorry for ignorance, ++pac ------=_NextPart_000_0022_01C2E331.F91327C0 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
>  And of course you can always wrap sam = in a=20 script just to
>  pretend that you have ssam.
 
could someone show me , how?
 
sorry for ignorance,
++pac
 
------=_NextPart_000_0022_01C2E331.F91327C0-- --upas-aeaseuchnqqnsehkqlpdaicvft--