Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [RFC] adding zmktemp command



Clinton Bunch wrote on Thu, 28 Mar 2019 15:42 +00:00:
> On 3/28/2019 10:36 AM, Oliver Kiddle wrote:
> > preferred these days. Perhaps sysopen (in zsh/system) could accept a -t
> > option instead of a filename.
> >
> > Oliver
> 
> I was planning on adding a -f option to return a fd in a parameter.  The 
> sysopen solution though wouldn't give you the filename which would mean 
> you couldn't pass it to an external program.  I realize that that has 
> some security issues which is why an unpredictable filename is needed.

The filename could be passed back from sysopen in a parameter, just like
that -f you describe here.



Messages sorted by: Reverse Date, Date, Thread, Author