Xref: utzoo comp.unix.questions:7505 comp.unix.wizards:9218 comp.unix.xenix:2441 Path: utzoo!attcan!uunet!mcvax!botter!ark.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.questions,comp.unix.wizards,comp.unix.xenix Subject: Re: ksh weird files Keywords: ksh shell scripts, not weird Message-ID: <1289@ark.cs.vu.nl> Date: 10 Jun 88 06:03:55 GMT References: <5658@chinet.UUCP> <5150@ecsvax.UUCP> <494@philmds.UUCP> Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatica, Amsterdam Lines: 32 In article <494@philmds.UUCP> leo@philmds.UUCP (L.J.M. de Wit) writes: \ \The reason for the late removing of the /tmp files I don't know. But I've some \other questions. How do you get a sh script running at login (the password \file entry should be an executable I thought). When login or getty or whoever \goes to exec the sh script, how does it know which command interpreter to use \(I don't think it knows of #! lines, in fact it doesn't even know the c.i. \issue) ? The magic number #! is well-known to the KERNEL! \And another question: how do you display text with \echo << END-OF-TEXT \ \text here \ \END-OF-TEXT \ \? The screens you get are rather small .... 8-). How about: cat << scroll_of_enchant_weapon text here scroll_of_enchant_weapon ? (You can also use scroll_of_enchant_armor, whichever you prefer.) -- South-Africa: |Maarten Litmaath @ Free U Amsterdam: revival of the Third Reich |maart@cs.vu.nl, mcvax!botter!ark!maart