From: John Stalker <stalker@maths.tcd.ie>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] typed sh (was: what features would you like in a shell?)
Date: Mon, 6 Apr 2009 22:18:18 +0100 [thread overview]
Message-ID: <20090406211818.C2B34865B@okapi.maths.tcd.ie> (raw)
In-Reply-To: <f51c9682ec37dabe0f71590a7321fb56@quanstro.net>
> but forcing compability seems worse. where are these decisions
> centralized? how do you change decisions? can you override
> these decisions (cast)? how does the output of, say, awk get
> typed?
The output of awk is a byte stream, same as its input. The
same holds for any program. If you want to give it some other
type then you need at least a casting mechanism. You probably
also want a splitting mechanism, with a regular expression for
the field separator.
--
John Stalker
School of Mathematics
Trinity College Dublin
tel +353 1 896 1983
fax +353 1 896 2282
next prev parent reply other threads:[~2009-04-06 21:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-02 18:48 fgergo
2009-04-02 19:28 ` roger peppe
2009-04-02 20:27 ` tlaronde
2009-04-06 3:55 ` Bakul Shah
2009-04-06 11:09 ` erik quanstrom
2009-04-06 15:40 ` Bakul Shah
2009-04-06 16:02 ` erik quanstrom
2009-04-06 16:22 ` [9fans] typed sh maht
2009-04-06 16:56 ` erik quanstrom
2009-04-06 16:50 ` [9fans] typed sh (was: what features would you like in a shell?) Bakul Shah
2009-04-06 21:18 ` John Stalker [this message]
2009-04-16 17:24 ` roger peppe
2009-04-16 18:52 ` Bakul Shah
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=20090406211818.C2B34865B@okapi.maths.tcd.ie \
--to=stalker@maths.tcd.ie \
--cc=9fans@9fans.net \
/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).