ksh weird files

Maarten Litmaath maart at cs.vu.nl
Fri Jun 10 16:03:55 AEST 1988


In article <494 at philmds.UUCP> leo at 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 at cs.vu.nl, mcvax!botter!ark!maart



More information about the Comp.unix.wizards mailing list