1 #!/home/ralph/src/devuan/rrqforth/rrqforth
3 # List file descriptors
8 # Prepare empty environment on data stack and save pointer on return stack
11 # Prepare the arg array on data stack and save pointer on return stack
12 0 " /proc/self/fd" DROP " -l" DROP " /bin/ls" DROP 0 D[n] >R
14 # The program to execute, arguments and environment
15 " /bin/ls" DROP 0 R[n] @ 1 R[n] @ SYS_EXECVE
17 # Shouldn't come here, but in case...