Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
calling systime() function by awk
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Raz0rEdge" data-source="post: 1671398" data-attributes="member: 110816"><p>You are mixing and matching things that aren't related.</p><p></p><p>I would recommend that you take a moment to read up and get familiar with what AWK is and does.</p><p></p><p>If you look at the <a href="http://www.gnu.org/software/gawk/manual/html_node/Numeric-Functions.html" target="_blank">Numeric Functions</a> supported by AWK, you'll see the srand() without any argument uses the current date and time as the seed automatically. Providing a integer means that the random number will go up to that integer..</p></blockquote><p></p>
[QUOTE="Raz0rEdge, post: 1671398, member: 110816"] You are mixing and matching things that aren't related. I would recommend that you take a moment to read up and get familiar with what AWK is and does. If you look at the [URL="http://www.gnu.org/software/gawk/manual/html_node/Numeric-Functions.html"]Numeric Functions[/URL] supported by AWK, you'll see the srand() without any argument uses the current date and time as the seed automatically. Providing a integer means that the random number will go up to that integer.. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
calling systime() function by awk
Top