Article View: es.comp.os.linux.programacion
Article #11010Re: generar ficheros que no se machaquen
From: NotFound
Date: Mon, 07 Jan 2002 18:59
Date: Mon, 07 Jan 2002 18:59
9 lines
1439 bytes
1439 bytes
> > Estoy haciendo un script que necesita crear un temporal para > > grabar una salida... pero no se que comando del bash hay para darle un > > nombre aleatorio no concurrente... > Aunque te han sugerido mktemp, lo correcto es usar tmpfile porque > así tu programa es compatible con el ANSI-C en ese aspecto; usando Ser compatible con ansi-C puede ser muy bueno para un programa en C, pero es notablemente difícil para un shell script ;)
Technical Details
Message-ID:
<3C39EFFD.472AB957@hobbiton.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!small.news.tele.dk!195.158.233.21!news.ebone.net!news1.ebone.net!cesio.mundo-r.com!not-for-mailReferences:
<3c2c5015.8267927@news.mad.ttd.net> <3C2E2E87.D0C2B1CE@dsitelecom.com>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,735922ea4c4ad7b7 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-01-07 11:47:21 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!small.news.tele.dk!195.158.233.21!news.ebone.net!news1.ebone.net!cesio.mundo-r.com!not-for-mail From: NotFound <blassic@hobbiton.org> Newsgroups: es.comp.os.linux.programacion Subject: Re: generar ficheros que no se machaquen Date: Mon, 07 Jan 2002 19:59:09 +0100 Organization: Another Netscape Collabra Server User Lines: 9 Message-ID: <3C39EFFD.472AB957@hobbiton.org> References: <3c2c5015.8267927@news.mad.ttd.net> <3C2E2E87.D0C2B1CE@dsitelecom.com> NNTP-Posting-Host: cm64105.red.mundo-r.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.14 i586) X-Accept-Language: en