* [9fans] nedmail quirk
@ 2008-11-12 3:40 erik quanstrom
2008-11-12 3:59 ` Pietro Gagliardi
0 siblings, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2008-11-12 3:40 UTC (permalink / raw)
To: 9fans
does anyone remember why !, | and || echo follow their
output with a "!\n"? would anyone miss this behavior?
- erik
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] nedmail quirk
2008-11-12 3:40 [9fans] nedmail quirk erik quanstrom
@ 2008-11-12 3:59 ` Pietro Gagliardi
2008-11-12 4:07 ` erik quanstrom
0 siblings, 1 reply; 6+ messages in thread
From: Pietro Gagliardi @ 2008-11-12 3:59 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Nov 11, 2008, at 10:40 PM, erik quanstrom wrote:
> does anyone remember why !, | and || echo follow their
> output with a "!\n"? would anyone miss this behavior?
>
> - erik
>
>
Could you give an example?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
iEYEARECAAYFAkkaVIoACgkQuv7AVNQDs+wtfACeNERQKfqBC4rT1XuGfylJBaAJ
q+gAn0hWu2JPc7yS0KVOLssnL2q3xCxw
=fH/W
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] nedmail quirk
2008-11-12 3:59 ` Pietro Gagliardi
@ 2008-11-12 4:07 ` erik quanstrom
2008-11-12 11:22 ` Pietro Gagliardi
0 siblings, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2008-11-12 4:07 UTC (permalink / raw)
To: 9fans
> Hash: SHA1
>
> On Nov 11, 2008, at 10:40 PM, erik quanstrom wrote:
>
>> does anyone remember why !, | and || echo follow their
>> output with a "!\n"? would anyone miss this behavior?
>>
>> - erik
>>
>>
>
> Could you give an example?
1: !echo true
true
!
1: 1|wc
1929 2070 146786
!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] nedmail quirk
2008-11-12 4:07 ` erik quanstrom
@ 2008-11-12 11:22 ` Pietro Gagliardi
2008-11-12 11:58 ` erik quanstrom
0 siblings, 1 reply; 6+ messages in thread
From: Pietro Gagliardi @ 2008-11-12 11:22 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
All the programs that accept ! as a command do this:
% ed file
!echo hello
hello
!
It tells the user that execution has finished.
On Nov 11, 2008, at 11:07 PM, erik quanstrom wrote:
>> Hash: SHA1
>>
>> On Nov 11, 2008, at 10:40 PM, erik quanstrom wrote:
>>
>>> does anyone remember why !, | and || echo follow their
>>> output with a "!\n"? would anyone miss this behavior?
>>>
>>> - erik
>>>
>>>
>>
>> Could you give an example?
>
> 1: !echo true
> true
> !
> 1: 1|wc
> 1929 2070 146786
> !
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
iEYEARECAAYFAkkavF4ACgkQuv7AVNQDs+z0kACgkAwZ/J20lZJlJvuDr02BfOWL
/fAAoI7y+G9I2u3FH+3b04/kAYbTiUj/
=BSnh
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] nedmail quirk
2008-11-12 11:22 ` Pietro Gagliardi
@ 2008-11-12 11:58 ` erik quanstrom
2008-11-12 14:50 ` Dan Cross
0 siblings, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2008-11-12 11:58 UTC (permalink / raw)
To: 9fans
> % ed file
> !echo hello
> hello
> !
>
> It tells the user that execution has finished.
this is not needed with nedmail, since nedmail
has a prompt, while ed does not.
- erik
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] nedmail quirk
2008-11-12 11:58 ` erik quanstrom
@ 2008-11-12 14:50 ` Dan Cross
0 siblings, 0 replies; 6+ messages in thread
From: Dan Cross @ 2008-11-12 14:50 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Wed, Nov 12, 2008 at 6:58 AM, erik quanstrom <quanstro@quanstro.net> wrote:
> this is not needed with nedmail, since nedmail
> has a prompt, while ed does not.
Presumably at some point someone leveraged some code that looked for
'!'; is there a reason to remove it? Oh God, somebody punch me; I'm
starting to argue against changing things simply because that's the
way they've always been.
- Dan C.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-11-12 14:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-12 3:40 [9fans] nedmail quirk erik quanstrom
2008-11-12 3:59 ` Pietro Gagliardi
2008-11-12 4:07 ` erik quanstrom
2008-11-12 11:22 ` Pietro Gagliardi
2008-11-12 11:58 ` erik quanstrom
2008-11-12 14:50 ` Dan Cross
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).