"Shell like words"
shell
These builtin words are modelled after common shell commands,
so that the Portable Forth Environment can often
be put in the place of a normal OS shell.
EXTENSIONS
#ifdef PFE_HAVE_PID
shell ordinary primitive
EXTENSIONS $$
no special info, see general notes
shell loader code P4_xOLD
#endif
#ifdef PFE_HAVE_UID
shell ordinary primitive
shell ordinary primitive
#endif
#ifdef PFE_HAVE_GID
shell ordinary primitive
#endif
#ifdef PFE_HAVE_UMASK
shell ordinary primitive
#endif
calls system's getenv(HOME)
|
shell ordinary primitive
calls system's getenv(USER)
|
shell ordinary primitive
shell ordinary primitive
calls system's getcwd and prints it to the screen
: PWD $CWD TYPE ;
|
shell ordinary primitive
EXTENSIONS RM
no special info, see general notes
shell compiling primitive