Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!gorodish!guy From: guy%gorodish@Sun.COM (Guy Harris) Newsgroups: comp.sys.att Subject: Re: infinite regress Message-ID: <31785@sun.uucp> Date: Fri, 23-Oct-87 03:24:23 EST Article-I.D.: sun.31785 Posted: Fri Oct 23 03:24:23 1987 Date-Received: Sun, 25-Oct-87 12:26:35 EST References: <3269@sol.ARPA> <144800004@tiger.UUCP> Sender: news@sun.uucp Lines: 10 > I guess I am missing something, because every Unix system I know of limits > a user to a number of process (such as 20). Yes, you're missing something; shell functions are not executed by starting up another process. This means you can write shell functions to do e.g. the C shell's "pushd" and "popd" functions, as any "cd"s done by the function affect the shell to which the "pushd" or "popd" was typed. Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com