#! /home/duz/c/pfe/src/pfe -q
\
\ This is a Forth file used as shell script.
\
\ This file is passed to the interpreter described with full path
\ name in the first line. Please make shure that this path name is
\ correct on your installation. (You'll HAVE to change it!)
\
\ Any arguments to the script file (this file) starting with the
\ script file itself are visible inside pfe by means of the words:
\
\ ARGC ( --- n		; count of parameters, at least 1 )
\ ARGV ( n --- addr len	; returns the n'th argument )
\
\ That means: if you execute this script like any other shell command
\ then you should see the parameters passed to this script.
\

: DISPLAY-ARGUMENTS
	ARGC 0 DO
		CR I 2 .R  SPACE  I ARGV TYPE
	LOOP ;

DISPLAY-ARGUMENTS
BYE
