File:  [CSRG BSD Unix] / 43BSD / usr.lib / libU77 / test / argtst.f
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

	character*16 arg, env
	n = iargc()
	call getarg(0, arg)
	write(*,*) "name:", arg
	if (n .gt. 0) then
	  do 100 i=1, n
	  call getarg(i, arg)
	  call getenv(arg, env)
  100	  write(*,*) i, arg, env
	endif
	end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.