9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* RE: [9fans] Newbie: life without rio
@ 2003-10-02  7:46 Tiit Lankots
  2003-10-02  7:49 ` Stephen Wynne
                   ` (2 more replies)
  0 siblings, 3 replies; 67+ messages in thread
From: Tiit Lankots @ 2003-10-02  7:46 UTC (permalink / raw)
  To: 9fans

>eventually, in 3rd year i started to use vi and read/hacked
>some of the code -- the horror, the horror ...

mm, i've heard before that vi' source code is <your favorite expletive>.
it (vi) must've made a world of difference back then, tho.
who wrote it, anyway?


^ permalink raw reply	[flat|nested] 67+ messages in thread
* Re: [9fans] sam command language
@ 2003-10-07  8:58 steve.simon
  2003-10-07  9:38 ` Axel Belinfante
  0 siblings, 1 reply; 67+ messages in thread
From: steve.simon @ 2003-10-07  8:58 UTC (permalink / raw)
  To: 9fans

    i think it worked out well.

One day I must make a serious effort to learn acme
but I feel no pressure to as sam is so wonderfull.

The only thing that bugs me is that sed isn't ssam,
I know about sam -d but it doesn't stream.

-Steve


^ permalink raw reply	[flat|nested] 67+ messages in thread
* Re: [9fans] sam command language
@ 2003-10-07 19:16 Scott Schwartz
  2003-10-07 19:20 ` rob pike, esq.
  0 siblings, 1 reply; 67+ messages in thread
From: Scott Schwartz @ 2003-10-07 19:16 UTC (permalink / raw)
  To: 9fans

| just what we need -- more characters to escape in regular expressions.
| if you're going to change anything, it makes more sense to sully ^ and $
| even further.

Alternatively, do what perl does:  punctuation uses backslash
to turn the magic off, letters use punctuation to turn it on.
So \a and \z could be the end markers.  You'd seldom type
that, so they're free to use.


^ permalink raw reply	[flat|nested] 67+ messages in thread
* Re: [9fans] sam command language
@ 2003-10-10  0:26 Dennis Ritchie
  0 siblings, 0 replies; 67+ messages in thread
From: Dennis Ritchie @ 2003-10-10  0:26 UTC (permalink / raw)
  To: 9fans

 > My first experience of Unix (circa 1976) was on an uppercase-only
 > terminal.  The driver would display lowercase characters as
 > uppercase, and uppercase characters escaped with a backslash;
 >keyboard input was the inverse of this.  So it was a common
 >mistake to type something like this in a C program
 > 	PRINTF("\HELLO, WORLD\N"):
 > which would result in "Hello, worldN" and no newline.

 > Exercise for the reader: how many backslashes are required
 > in the ed 's' command to correct the error?

Years ago I ran into a situation with a script
(probably involving all of the shell, ed, and troff)
in which N½ \ were needed.  N was too few, N+1 were
too many.

	Dennis


^ permalink raw reply	[flat|nested] 67+ messages in thread

end of thread, other threads:[~2003-10-10  0:26 UTC | newest]

Thread overview: 67+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-02  7:46 [9fans] Newbie: life without rio Tiit Lankots
2003-10-02  7:49 ` Stephen Wynne
2003-10-02 16:39   ` splite
2003-10-02 17:24     ` David Lukes
2003-10-02 21:02       ` boyd, rounin
2003-10-02 21:06         ` David Presotto
2003-10-02 21:11           ` boydomatic
2003-10-02 21:22             ` boyd, rounin
2003-10-03  1:18             ` boyd, rounin
2003-10-02 21:20           ` boyd, rounin
2003-10-02 18:13     ` jmk
2003-10-02 18:19       ` ron minnich
2003-10-02 21:13         ` boyd, rounin
2003-10-03  8:44         ` kim kubik
2003-10-03  9:04           ` boyd
2003-10-03 13:38           ` andrey mirtchovski
2003-10-03 13:39             ` david presotto
2003-10-03 13:49               ` david presotto
2003-10-03 16:32                 ` Dan Cross
2003-10-03 16:34                   ` Dan Cross
2003-10-03 16:34                   ` David Presotto
2003-10-03 16:42                   ` ron minnich
2003-10-06  9:01                     ` kim kubik
2003-10-06  9:32                       ` boyd
2003-10-03 17:10                   ` Skip Tavakkolian
2003-10-04  8:02                   ` boyd
2003-10-04  8:00                 ` boyd
2003-10-04  7:57               ` boyd
2003-10-02 20:37       ` boyd
2003-10-02 21:11       ` boyd, rounin
2003-10-06  8:08       ` vdharani
2003-10-02  7:52 ` boyd, rounin
2003-10-03 17:36 ` a
2003-10-03 17:47   ` rog
2003-10-04  1:53     ` rob pike, esq.
2003-10-04  8:17       ` boyd
2003-10-06 12:52       ` [9fans] sam command language rog
2003-10-06 15:08         ` Rob Pike
2003-10-06 15:55           ` Jim Choate
2003-10-06 16:35           ` Micah Stetson
2003-10-06 16:41             ` Rob Pike
2003-10-06 16:47               ` Micah Stetson
2003-10-06 18:24               ` boyd
2003-10-07 18:34           ` rog
2003-10-07 18:48             ` rob pike, esq.
2003-10-08 14:44               ` rog
2003-10-08 15:09                 ` Jim Choate
2003-10-09  0:52                   ` okamoto
2003-10-08 15:46                 ` rob pike, esq.
2003-10-09 17:35                   ` rog
2003-10-07 20:16             ` vdharani
2003-10-07 18:59               ` Russ Cox
2003-10-08 14:33                 ` rog
2003-10-08 14:44                   ` Derek Fawcus
2003-10-08 15:27                     ` Dan Cross
2003-10-04  8:14     ` [9fans] Newbie: life without rio boyd
2003-10-04  8:06   ` boyd
2003-10-07  8:58 [9fans] sam command language steve.simon
2003-10-07  9:38 ` Axel Belinfante
2003-10-07 19:16 Scott Schwartz
2003-10-07 19:20 ` rob pike, esq.
2003-10-08  8:37   ` Douglas A. Gwyn
2003-10-08 15:42     ` rob pike, esq.
2003-10-09  8:42       ` Douglas A. Gwyn
2003-10-09  9:18         ` Richard Miller
2003-10-09 15:01           ` rog
2003-10-10  0:26 Dennis Ritchie

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).