sh foo vs. sh < foo 

>I am trying to figure out what is the difference between executing a
>shellscript foo as
>
>sh foo
>
>compared to sh < foo.

Not much:

Ken Pizzini