From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Re: \n\n\n to \n\n
Date: Wed, 5 Mar 2003 18:05:36 +0000 [thread overview]
Message-ID: <9be2f49cc7d7111fcf58683cd36844ef@vitanuova.com> (raw)
> > And of course you can always wrap sam in a script just to
> > pretend that you have ssam.
>
> could someone show me , how?
the following script does something of the sort; if you were prepared
to go without error messages, you could dispense with the clunky sed
script.
unfortunately it produces output even if there's an error in the
script. i don't know if there's anything that can be done about
that...
use like:
echo hello | ssam ',x/l/c/x/'
it's only had 'presotto' testing...
#!/bin/rc
{
{
for (i) echo $i
echo w /fd/1
} |
sam -d /fd/3 |[2]
sed -e '/^\?changed files/d' -e '/^[^?]/d' -e 's/\?/ssam: /' >[1=2]
} <[3=0]
next reply other threads:[~2003-03-05 18:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-05 18:05 rog [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 15:12 peter a. cejchan
2003-03-05 19:20 ` Fco.J.Ballesteros
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=9be2f49cc7d7111fcf58683cd36844ef@vitanuova.com \
--to=rog@vitanuova.com \
--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).