pfe-shell-ext ? Shell like words
$PID ( -- pid ) ?=>? ( | ) ; | ? |
"EXTENSIONS"
;$UID ( -- val ) ?=>? ( | ) ; | ? |
"EXTENSIONS"
;$EUID ( -- val ) ?=>? ( | ) ; | ? |
"EXTENSIONS"
;$GID ( -- val ) ?=>? ( | ) ; | ? |
"EXTENSIONS"
;UMASK ( val -- ret ) ?=>? ( | ) ; | ? |
"EXTENSIONS"
;$HOME ( -- str-ptr str-len ) ?=>? ( | ) ; | ? |
"EXTENSIONS"
;$USER ( -- str-ptr str-len ) ?=>? ( | ) ; | ? |
"EXTENSIONS"
;$CWD ( -- str-ptr str-len ) ?=>? ( | ) ; | ? |
"EXTENSIONS"
;PWD ( -- ) ?=>? ( | ) ; | ? |
"EXTENSIONS"
;RM ?=>? ( | ) ; | ? |
"EXTENSIONS"
;TOUCH ?=>? ( | ) ; | ? |
"EXTENSIONS"
;CHDIR ( bstring -- ) ?=>? ( | ) ; | ? |
"EXTENSIONS"
;RMDIR ?=>? ( | ) ; | ? |
"EXTENSIONS"
;MKDIR ?=>? ( | ) ; | ? |
"EXTENSIONS"
;LN ?=>? ( | ) ; | ? |
"EXTENSIONS"
;MV ?=>? ( | ) ; | ? |
"EXTENSIONS"
;LL ?=>? ( | ) ; | ? |
"EXTENSIONS"
;LS ?=>? ( | ) ; | ? |
"EXTENSIONS"
;CP ?=>? ( | ) ; | ? |
"EXTENSIONS"
;
$PID ( -- pid ) => "EXTENSIONS"
calls system's getpid
$UID ( -- val ) => "EXTENSIONS"
calls system's getuid
$EUID ( -- val ) => "EXTENSIONS"
calls system's geteuid
$GID ( -- val ) => "EXTENSIONS"
calls system's getgid
UMASK ( val -- ret ) => "EXTENSIONS"
calls system's umask
$HOME ( -- str-ptr str-len ) => "EXTENSIONS"
calls system's getenv(HOME)
$USER ( -- str-ptr str-len ) => "EXTENSIONS"
calls system's getenv(USER)
$CWD ( -- str-ptr str-len ) => "EXTENSIONS"
calls system's getcwd
PWD ( -- ) => "EXTENSIONS"
calls system's getcwd
and prints it to the screen
: PWD $CWD TYPE ;
RM - no description, sorry
TOUCH - no description, sorry
CHDIR ( bstring -- ) => "EXTENSIONS"
change the current directory. ( (under VxWorks it is global! do not use in scripts!!) )
RMDIR - no description, sorry
MKDIR - no description, sorry
LN - no description, sorry
MV - no description, sorry
LL - no description, sorry
LS - no description, sorry
CP - no description, sorry