Re: [9fans] p9p sed vs linux sed

2015-08-14 Thread Alexander Kapshuk
On Wed, Aug 12, 2015 at 10:39 AM, Rudolf Sykora rudolf.syk...@gmail.com wrote: Hello, is this as expected? perseus=; echo -n aaa | 9 sed 's/^//' aaa perseus=; echo -n aaa | sed 's/^//' aaaperseus=; For me the linux sed does what I expect, but not the p9p one (it adds a newline). Why?

Re: [9fans] Small Plan 9 Platforms

2015-08-14 Thread Steve Simon
I have tried to email BLS but fear I am being spam filtered... you there? -Steve On 12 Aug 2015, at 23:27, Brian L. Stuart blstu...@bellsouth.net wrote: On Wed, 8/12/15, Skip Tavakkolian 9...@9netics.com wrote: the gpio pins don't seem accessible through a filesystem api like i see in

Re: [9fans] p9p sed vs linux sed

2015-08-14 Thread erik quanstrom
i think the change doesn't work for any multi-line file: ; cp /sys/src/cmd/sed.c /tmp/notsed.c ; cd /tmp ; ed notsed.c ; ed notsed.c 27827 putline(Biobuf *bp, Rune *buf, int n) +4 ebputc(bp, '\n'); d w 27808 q ; tmk notsed.c 6c -FVTw notsed.c 6l -o 6.notsed notsed.6 ; ; {echo a ; echo b}

Re: [9fans] Small Plan 9 Platforms

2015-08-14 Thread Brian L. Stuart
I have tried to email BLS but fear I am being spam filtered... you there? I did get one message from you, and replied earlier today. Hopefully it got through. A little more update on recent pi playing. I've been working on a little toy the last few days, namely one of those small SPI driven