bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: temp file suffixes: mktemp DWIM


From: Jim Meyering
Subject: Re: temp file suffixes: mktemp DWIM
Date: Tue, 03 Nov 2009 22:25:52 +0100

Eric Blake wrote:
> Eric Blake <ebb9 <at> byu.net> writes:
>
>> Now that glibc 2.11 has mkostemps, and I'm working on adding that to gnulib,
> it
>> would be nice to expose the idea of an explicit suffix to temporary file
>> names.  But rather than require the user to count how long their suffix is, I
>> imagine it would make more sense to give mktemp(1) some do-what-I-mean
> smarts.

Thanks a lot for writing the documentation (that's been a thorn in my
side for far too long) and the careful once-over.
I haven't had time yet to study much of this message, but bear
in mind that I tried to implement a program that was faithful
to this documentation:

  http://mktemp.org/manual.html

I hope to get to this tomorrow.

> Before I do that, how about documenting what mktemp currently does.  The
> proposed patch documents the current behavior, although it probably needs some
> tweaks (and corresponding tweaks in mktemp.c) based this email.
>
> mktemp --help is not very obvious that --tmpdir is implied if no TEMPLATE is
> given.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]