From: Fco.J.Ballesteros <nemo@plan9.escet.urjc.es>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Re: \n\n\n to \n\n
Date: Wed, 5 Mar 2003 20:20:58 +0100 [thread overview]
Message-ID: <371e22e5a847b7aedc0581e764162c63@plan9.escet.urjc.es> (raw)
In-Reply-To: <002501c2e329$97797940$2a8be793@gli.cas.cz>
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
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
[-- Attachment #2: Type: message/rfc822, Size: 2854 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 157 bytes --]
> 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
[-- Attachment #2.1.2: Type: text/html, Size: 711 bytes --]
next prev parent reply other threads:[~2003-03-05 19:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-05 15:12 peter a. cejchan
2003-03-05 19:20 ` Fco.J.Ballesteros [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-03-06 6:25 peter a. cejchan
2003-03-07 11:14 ` Douglas A. Gwyn
2003-03-07 12:34 ` Fco.J.Ballesteros
2003-03-05 18:05 rog
2003-03-05 6:52 peter a. cejchan
2003-03-05 17:26 ` rob pike, esq.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=371e22e5a847b7aedc0581e764162c63@plan9.escet.urjc.es \
--to=nemo@plan9.escet.urjc.es \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).