I have a script that checks a zipfile containing a number of matching PDF+textfiles. I want to unpack, or somehow read the textfiles from the zipfile, and just pick out some
Another option if running on linux with mktemp and access to the exec function is the following:
mktemp
exec
This avoids the potential (although unlikely) race issue above and has the same behavior as the tempnam function.
tempnam