Leon Brocard (via RT) <[EMAIL PROTECTED]> writes: > Well, it's more of a new file than a patch. I'm aware that we're in a > code freeze, so I don't mind if this doesn't get it right now, but > it'd be nice ;-) > > I've attached an example "uniq" implementation in pasm, which takes > options. It's not very fast compared to GNU uniq atm, but hey. I'd > suggest putting this in examples/assembly/ (don't forget the > MANIFEST).
Sorry, but my ongoing effort to port the io from stdio to PIO broke this. realine isn't working at the moment, it needs at least minimal read buffering in PIO, but this weekend I only got write buffering running (see #21600). Maybe next weekend. But the code is a good example how it should work. > open I0, S0 > readline S2, I0 > > SOURCE_LOOP: > readline S1, I0 bye boe