[comp.sys.amiga] Arp 1.3 bugs?

pawn@wpi.wpi.edu (Kevin Goroway) (04/27/89)

Hmmm, is this a bug or what?
 The argument one can send to echo are first n and len n (and newline...)
this strange part is that first doesn't act as if it should...
echo "hello" len 2
lo
echo "hello" first 2
ello

First of all (bad pun), it counts wrong, second of all, shouldn't it return
echo "hello" first 2
he

???
Anyway, I can across this while trying to get the date len 8 thing (just the
time) to convert to 12 hour instead of 24 hour...which can be done using
variables, ifs, and eval, if only echo worked...
(any other ways of doing this? I'm going to write a time command in 'C', but 
it'll probably be sorta large compared to the arp commmands...)

Also...
Try if ?
it'll tell ya all about it...but it won't let you exit till you type 
endif



-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| Pawn@wpi.wpi.edu 		Worcester Polytechnic Institute, Mass, U.S.A. |
| Pawn@wpi.Bitnet		main() { printf("Hello World!\n"); }          |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=