/* testing rexx command */ address command work = "pipe:cgi-finger-" || pragma( "ID" ) parse arg user say "Content-type: text/html" say "" Finger = "/bin/finger" if exists( Finger ) then do if User = "" then do say "Arexx Finger Gateway running on an amiga" say "" say "" say "

The time is "||time('Civil')||" on "||date('Normal')||" here." say '

This is a gateway to "finger". It is written in arexx, and running on an amiga.
' say 'Type a user@host combination in your browser''s' say "search dialog.

" end else do say "

Result of finger "||user||"


" say "
"
		Finger user
		say "
" end end else do say "Cannot find finger on this system." end