From: Kenji Arisawa <arisawa@ar.aichi-u.ac.jp>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] rc of Unix
Date: Sat, 5 Jul 2003 21:15:40 +0900 [thread overview]
Message-ID: <6496F535-AEE2-11D7-B36C-000393A941BC@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <00d001c3429d$e5cbc020$c901a8c0@cc77109e>
Hello,
I said:
> bash$ rc
> ; bash$ rc
> ; read
> read not found
> ;
>
> What should I do for "read" in Unix rc ?
>
Ellis:
> sed 1q
Thinks, Ellis.
However "sed 1q" behaves somewhat differently.
In the bellow my input sequence are:
aaa
bbb
ccc
ddd
Plan 9 read:
cpu% read; read
aaa
aaa
bbb
bbb
cpu%
Unix "sed 1q":
bash$ rc
; sed 1q; sed 1q
aaa
bbb
aaa
ccc
ddd
ccc
;
Kenji Arisawa
next prev parent reply other threads:[~2003-07-05 12:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-05 2:17 Kenji Arisawa
2003-07-05 2:33 ` Bruce Ellis
2003-07-05 12:15 ` Kenji Arisawa [this message]
2003-07-05 14:00 ` boyd, rounin
2003-07-05 17:45 David Presotto
2003-07-05 23:20 ` Kenji Arisawa
2003-07-05 23:48 ` rob pike, esq.
2003-07-06 3:19 ` boyd, rounin
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=6496F535-AEE2-11D7-B36C-000393A941BC@ar.aichi-u.ac.jp \
--to=arisawa@ar.aichi-u.ac.jp \
--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).