From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: [9fans] just one thing i can't figure out doing
Date: Tue, 11 Feb 2003 17:08:02 -0700 [thread overview]
Message-ID: <20030211164229.D95549@fbsd.cpsc.ucalgary.ca> (raw)
i've been running my head against the wall on this one. short of reading the
man page for rc i decided to ask the list first:
i want to execute a 'window -m' where the command the window executes
involves redirection (eg: cat >> /tmp/test)...
so, naturally the first try is:
% window -m cat >> /tmp/test
but unfortunately this doesn't work (the window closes and no error status
is reported in the original shell)
the second thing was:
% fn out { cat >> /tmp/test }
% window -m out
but it still didn't work...
then i spent an hour trying all sorts of different quoting (trying to pass
it as a list, to quote each and every one of them, to quote them together,
to concatenate them with ' ' and everything else, including \>)...
a way of doing this would be to create a yet another script that just cats
it to /tmp, but that, in my view, is an overkill for something so simple...
please, point me the obvious error that i am making...
andrey
next reply other threads:[~2003-02-12 0:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-12 0:08 andrey mirtchovski [this message]
2003-02-12 0:13 ` Russ Cox
2003-02-12 0:17 ` andrey mirtchovski
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=20030211164229.D95549@fbsd.cpsc.ucalgary.ca \
--to=mirtchov@cpsc.ucalgary.ca \
--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).