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.
$$
-
calls system's getpid
reference: p4_getpid in ../src/shell.c:0052, export CO $$
$UID
-
calls system's getuid
reference: p4_getuid in ../src/shell.c:0059, export CO $UID
$EUID
-
calls system's geteuid
reference: p4_geteuid in ../src/shell.c:0063, export CO $EUID
$GID
-
calls system's getgid
reference: p4_getgid in ../src/shell.c:0070, export CO $GID
UMASK
-
calls system's umask
reference: p4_umask in ../src/shell.c:0077, export CO UMASK
$HOME
-
calls system's getenv(HOME)
reference: p4_home in ../src/shell.c:0083, export CO $HOME
$USER
-
calls system's getenv(USER)
reference: p4_user in ../src/shell.c:0087, export CO $USER
$CWD
-
calls system's getcwd
reference: p4_cwd in ../src/shell.c:0092, export CO $CWD
PWD
-
calls system's getcwd
and prints it to the screen
reference: p4_pwd in ../src/shell.c:0097, export CO PWD
RM
- smart-word
mimics a unix'ish shell-command - PARSE
s one filename/dirname
reference: p4_remove in ../src/shell.c:0387, export CS RM
TOUCH
- smart-word
mimics a unix'ish shell-command - PARSE
s one filename/dirname
reference: p4_touch in ../src/shell.c:0388, export CS TOUCH
CD
-
mimics a unix'ish shell-command - PARSE
s one filename/dirname
reference: p4_chdir in ../src/shell.c:0117, export CO CD
RMDIR
- smart-word
mimics a unix'ish shell-command - PARSE
s one filename/dirname
reference: p4_rmdir in ../src/shell.c:0390, export CS RMDIR
MKDIR
- smart-word
mimics a unix'ish shell-command - PARSE
s one filename/dirname
reference: p4_md in ../src/shell.c:0391, export CS MKDIR
LN
- smart-word
mimics a unix'ish shell-command - PARSE
s two filenames/dirnames
reference: p4_link in ../src/shell.c:0394, export CS LN
MV
- smart-word
will invoke a shell-command with the command and a two filenames
reference: p4_mv in ../src/shell.c:0398, export CS MV
LL
- smart-word
mimics a unix'ish shell-command - PARSE
s one filename/dirname
reference: p4_ll in ../src/shell.c:0402, export CS LL
LS
- smart-word
mimics a unix'ish shell-command - PARSE
s one filename/dirname
reference: p4_ls in ../src/shell.c:0403, export CS LS
CP
- smart-word
mimics a unix'ish shell-command - PARSE
s two filenames/dirname
reference: p4_cp in ../src/shell.c:0406, export CS CP