Michael Mikonos

Results 6 comments of Michael Mikonos

Thanks for the notification. The commit added for =v instruction caused the loop to terminate because $return=1 breaks out of a group statement. Setting $return=3 as done in FOR-COND fixes...

``` $ cat bc.sh #!/bin/sh BC='perl bc' bc() { code="$1" echo "$code" | $BC | fgrep -c ok } for tst in \ 'if (0 == 0) { print "ok";...

> SUCCESS=0 -- a=2; if (a == 2 && 1 == 1) { print "ok"; } I didn't investigate why this was happening. But now I think it could be...

* "define" indicates a function declaration * When I declare a trivial function adding 1 to the input param, bc will only accept the syntax if the return expression is...

* Recent commits to grep have added support for real fixed-string search without invoking regex engine. * Now I can search for things like a single slash... grep -Fn '/'...

In my understanding the restricted-ed mode is not a POSIX-standard feature of ed [1]. In terms of portability, "ed is always there" is truer than "red is always there". If...