nonsense names

John Bell jdb at mtunf.UUCP
Wed Jun 5 07:25:58 AEST 1985


In article <2123 at uvacs.UUCP> mac at uvacs.UUCP (Alex Colvin) writes:
 ...
>Ths does point out an annoying feature of UN*X -- the lack of an anonymous
>current file, which forces the invention of a lot of names for intermediate
>files.  Pipes help, but sometimes you need to see intermediate stages before
>they disappear.

I thought that is what "mktemp(3C)", "tmpfile(3S)", and "tmpnam(3S)" were
all about.  (I admit that I'm new to SysV, and haven't tried any of them
yet, but you can always hack up something with "getpid(2)", "sprintf(3S)",
and "fopen(3S)" if you don't have "mktemp" or it doesn't work.)

-- 
~~~~~~~~~~~~~~~~~~~~
    John D. Bell,  AT&T-ISL		Holmdel, NJ   1J317   (201) 834-3372
				 UUCP:  ...{ihnp4,mtu??,ucbvax}!mtunf!jdb
"...You may be right, I may be crazy,
    but it just may be a lunatic you're looking for..."		-Billy Joel



More information about the Comp.unix mailing list