Cecil Westerhof <
Ce...@decebal.nl> wrote:
> Gerald Lester <Gerald...@KnG-Consulting.net> writes:
>
>> On 11/21/2017 08:20 AM, Cecil Westerhof wrote:
>>> I have had it several times that things worked when using them in an
>>> interactive shell, but that did not work when used in a script. For
>>> example:
>>> sleep -> that has to become after
>>> date -> that has to become clock
>>
>> The interactive shell has a couple of features to make it easy to use as
>> a shell:
>> 1) It allows partial words, thus fore, forea, foreac and foreach all
>> invoke the foreach command.
>> 2) It will automatically see if a command that is not a Tcl command is a
>> valid program to run, if so, it runs it and returns the result. (This
>> is what is happening for the two cases you site)
>
> Aah, I understand. I would not have chosen this, but I understand the
> reasoning. Need to be careful then. ;-)
Well, it is what it is and has worked that way for a *very* long time.