John Chludzinski dixit:

>> So test() is being run?  When I changed the function name to "testing" I got:

Sometimes… don’t rely on this.

>> PS> I'm a newbie here and "test" is so infrequently used in lieu of
>> [...] or [[...]] that the oversight here is understandable.

Yes, of course. There was never any blame, just pointing out facts.

By the way, [[ … ]] is not only more secure but also faster.

>... and:

>       eval $1=12

>works well (i.e., as advertised).

You’re welcome ;-)

By the way: https://evolvis.org/projects/shellsnippets/ has
got lots of example code (open source) in a git repository.

bye,
//mirabilos
-- 
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh

Reply via email to