[TUHS] sh: cmd | >file

Brantley Coile brantley at coraid.com
Tue Jan 7 01:45:14 AEST 2020


I suspect so he could run the Pascal P-machine. 

> On Jan 6, 2020, at 10:42 AM, Richard Salz <rich.salz at gmail.com> wrote:
> 
> 
> 
> On Sun, Jan 5, 2020 at 10:42 PM Brian Walden <tuhs at cuzuco.com> wrote:
> not the kernel. This had traditionally been done after the exec() failed
> then shell ould run "sh argv[0]", but with two shells this was now a problem.
> 
> It seems the kernel did that; http://man.cat-v.org/unix_7th/2/exec since argv[-1] was altered.
> 
> I read somewhere, can't recall where, that Ken Thompson suggested "#!" being added to the kernel during his sabbatical there.
> 



More information about the TUHS mailing list