08-14-2018
Thank you Don, for your frequent high-quality contributions!
From you I learned so much about standards and portable shell programming.
These 2 Users Gave Thanks to MadeInGermany For This Post:
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I am using a Quantum DLT 4000 tape drive on a PowerMac G4 with OS 10.1.5
I'd like to use the Terminal application, which is based on BSD 4.4, to see the tape drive and write backup tapes to it.
First, is there a way to list all the devices attached to the computer? And secondly, is there a way... (0 Replies)
Discussion started by: derekc132002
0 Replies
2. UNIX for Advanced & Expert Users
Good day,
I do have a HP-UX B.11.31 U ia64 machine.
If I check top a proces called sfmdb is high in use en cpu. It is a postgres-command.
Full name is System Fault Management. Google gives an option to restart it in: /sbin/init.d via sfmdb stop en start.
But if I now look on the machine I... (2 Replies)
Discussion started by: velde_van_der_a
2 Replies
3. Shell Programming and Scripting
Hi everybody!
I have a large comma separated text file. This file incluede some column which largest than 4000 character(this is not the last column). I tried with sed but i can't do it.
I would like to split to 4000 char this column.
Thank You for your help!
for example: (5 Replies)
Discussion started by: snayper
5 Replies
4. Programming
In my objective-c code base I have several NSLog statements.
eg.
NSLog(@"Here is the message without arguments");
NSLog(@"Here is the message with arguments: %s, %s","argument1","argument2");
Now I want to do two things:
First to do: updating NSLog statements with... (0 Replies)
Discussion started by: Miraaj
0 Replies
5. What is on Your Mind?
Hello All,
Let's join our hands together to appreciate Corona688 for completing and reaching to the landmark of 4000+ THANKS. I do want to appreciate Corona688 on behalf of everyone here in forum for Corona688's continuous effort of posting very useful, full of experience and knowledge posts in... (7 Replies)
Discussion started by: RavinderSingh13
7 Replies
6. What is on Your Mind?
Congratulations.
Nice one RudiC. That is some going, well done!
Bazza. (8 Replies)
Discussion started by: wisecracker
8 Replies
7. What is on Your Mind?
Hello All forum members,
I would like to take this opportunity to THANK RudiC for his tremendous achievement, guidance, help for helping in forums, let us join our hands together for his GREAT achievement :b:
@Rudi sir,
How are you sir?
you ROCK, please keep up the great work sir :b:
... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies
8. What is on Your Mind?
Just noticed that our successful computer trivia feature (stats here) has surpassed over 50,000 questions answered by users:
https://www.unix.com/trivia_stats.php
This was a coding effort worth while and I'm pleased to see so many people enjoying it in such a short time since it was released... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT MOJAVE
uuid_generate_time
UUID_GENERATE(3) Library Functions Manual UUID_GENERATE(3)
NAME
uuid_generate, uuid_generate_random, uuid_generate_time - create a new unique UUID value
SYNOPSIS
#include <uuid/uuid.h>
void uuid_generate(uuid_t out);
void uuid_generate_random(uuid_t out);
void uuid_generate_time(uuid_t out);
DESCRIPTION
The uuid_generate function creates a new universally unique identifier (UUID). The uuid will be generated based on high-quality randomness
from /dev/urandom, if available. If it is not available, then uuid_generate will use an alternative algorithm which uses the current time,
the local ethernet MAC address (if available), and random data generated using a pseudo-random generator.
The uuid_generate_random function forces the use of the all-random UUID format, even if a high-quality random number generator (i.e.,
/dev/urandom) is not available, in which case a pseudo-random generator will be subsituted. Note that the use of a pseudo-random generator
may compromise the uniqueness of UUID's generated in this fashion.
The uuid_generate_time function forces the use of the alternative algorithm which uses the current time and the local ethernet MAC address
(if available). This algorithm used to be the default one used to generate UUID, but because of the use of the ethernet MAC address, it
can leak information about when and where the UUID was generated. This can cause privacy problems in some applications, so the uuid_gener-
ate function only uses this algorithm if a high-quality source of randomness is not available.
The UUID is 16 bytes (128 bits) long, which gives approximately 3.4x10^38 unique values (there are approximately 10^80 elemntary particles
in the universe according to Carl Sagan's Cosmos). The new UUID can reasonably be considered unique among all UUIDs created on the local
system, and among UUIDs created on other systems in the past and in the future.
RETURN VALUE
The newly created UUID is returned in the memory location pointed to by out.
CONFORMING TO
OSF DCE 1.1
AUTHOR
Theodore Y. Ts'o
AVAILABILITY
http://e2fsprogs.sourceforge.net/ <http://e2fsprogs.sourceforge.net/>
SEE ALSO
uuid(3), uuidgen(1), uuid_clear(3), uuid_compare(3), uuid_copy(3), uuid_is_null(3), uuid_parse(3), uuid_unparse(3)
1.36 April 2004 UUID_GENERATE(3)