On Tue, Aug 17, 2010 at 2:56 PM, Nikhilesh S <s.nikhilesh_AT_gmail.com> wrote:
> On Tue, 17 Aug 2010, Suraj Kurapati wrote:
>
>> uuidgen(1) for the win.
>
> I don't see why they should be univrsally unique - just unique within
> the input file should do. All that is required is adding an additional
> integer 'id' field to the 'item' struct, using that as the id instead,
> and using 'lowest unused whole number id' for generating new ids.
Oh, I forgot flo was a C program. I was thinking it was a shell script,
in which case, I would argue that it is the UNIX way to invoke specialized
tools --- such as uuidgen --- that do the job rather than reinventing logic
poorly in your shell script. :)
Received on Tue Aug 17 2010 - 23:11:24 CEST
This archive was generated by hypermail 2.2.0 : Tue Aug 17 2010 - 23:12:03 CEST