in reply to Re^2: Unix Aliases?
in thread Unix Aliases?
I'm guessing that the line containing 'exec' is passing the contents of the .profile into the array emvlines
Not quite. ksh is launched. First, ksh is told to executed .profile. It's assumed here that .profile is a valid (ksh) shell script with no nasty side effects. Once .profile finishes executed, ksh is told to execute "env", which returns something akin to the following:
BLOCKSIZE=K CC=cc CFLAGS=-O2 -mcpu=pentiumpro -pipe ... TEST=... LIVE=... TEACHING=... ...
That list is assigned to @envlines, and then parsed in the foreach loop.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Unix Aliases?
by Ronnie (Scribe) on Sep 08, 2004 at 08:53 UTC | |
by pelagic (Priest) on Sep 08, 2004 at 09:24 UTC | |
by Ronnie (Scribe) on Sep 08, 2004 at 10:05 UTC | |
by pelagic (Priest) on Sep 08, 2004 at 10:33 UTC | |
by Ronnie (Scribe) on Sep 08, 2004 at 19:21 UTC | |
|