On 21 August 2013 19:19, smi...@icebubble.org wrote:
Rob Pike robp...@gmail.com writes:
OK. How does one match the start/end of dot in a g// or v// regexp?
... seems like a good question to me
Steve Simon in his Sam command reference card also uses ^ and $
for his TODAY example, so this
Short answer: you can't. It would be nice though.
-rob
On 22/08/2013, at 4:24 PM, Rudolf Sykora rudolf.syk...@gmail.com wrote:
On 21 August 2013 19:19, smi...@icebubble.org wrote:
Rob Pike robp...@gmail.com writes:
OK. How does one match the start/end of dot in a g// or v//
it would be reasonable to try to follow the standard, unless it's stupid,
ill-advised, or impossible (or all three).
Not impossible, maybe a bit tricky to stop the linkers from reordering
things. The cost would be (at least) one extra instruction for each
'if' statement with a floating point
it would be reasonable to try to follow the standard, unless it's stupid,
ill-advised, or impossible (or all three).
I was a little ambiguous. I meant that statement in general, but I in the
particular case of floating-point, being fundamental, probably should work
as now defined,
and I
On Wed, 21 Aug 2013 17:44:03 EDT erik quanstrom quans...@quanstro.net wrote:
i think a bug is setting inuxi8[i+4] = inuxi8[i] for 0=i4.
mikro; diffy -c *.c
diff -c /n/dump/2013/0821/sys/src/cmd/6l/obj.c obj.c
/n/dump/2013/0821/sys/src/cmd/6l/obj.c:1455,1471 - obj.c:1455,1471
int i, c;
i think a bug is setting inuxi8[i+4] = inuxi8[i] for 0=i4.
mikro; diffy -c *.c
diff -c /n/dump/2013/0821/sys/src/cmd/6l/obj.c obj.c
/n/dump/2013/0821/sys/src/cmd/6l/obj.c:1455,1471 - obj.c:1455,1471
int i, c;
for(i=0; i4; i++) {
- c = find1(0x04030201L, i+1);
Well, I finally figured it out: how to use sam for Real Life Work(TM)!
It took me about 8 hours to figure out, but I finally managed to create
my first practical sam script. I just kind of pulled a Buddha, you
know, I will not move from this spot until I can program sam! ;)
Far from being
P9p file(1) fails to recognise 64-bit Mach-O binaries (thus breaking
things like src(1) and friends). I don't know if it ever worked right.
: iridium:aram; uname -a
Darwin iridium 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1
17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64
FWIW, file on Plan 9 knows about these well enough to at least
distinguish (386 | amd64 | 32-bit power) Mach-O executables.
The plan9 and p9p versions have diverged more than I'd have
expected, but it should be easy to import.
Anthony