On Fri, 30 Jan 2015 18:43:02 -0600, Mike Schwab  wrote:
>>
>> I have kept the following as my ~/ls:
>>
>>     #! /bin/sh
>>     for I in 5 4 3 2 1; do
>>         echo "$HOME will be deleted (rm -r) in $I seconds!"
>>         sleep 1; done
>>     echo "Fooled ya!"
>
>That could give someone a heart attack.
> 
If it's non-lethal it's a learning experience; else Darwin.  Don't
issue *any* command after 'cd" to an untruted directory if
"." or "::" is earlier in your PATH.

How does Windows get away with it?  Is it because W is mostly
not a multi-user OS?  Is it just the sort of thing Windows users
have come to expect?

(IIRC, CMS purs EXEC before MODULE regardless of where they
occur in the search order.  What's Windows' analogous convention
among .BAT, .EXE, ...?)

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to