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="shmokarami" data-source="post: 1671396" data-attributes="member: 359715"><p>Hi everyone,</p><p>I want to use "srand" in a program with "awk" on my mac,</p><p>and to generate different numbers I want to use systime() as seed.</p><p>But this error occurs:</p><p>"awk: calling undefined function systime"</p><p></p><p>Could you please let me know How I can solve the problem?</p><p></p><p>I did not see any function about time in " man awk" description.</p></blockquote><p></p>
[QUOTE="shmokarami, post: 1671396, member: 359715"] Hi everyone, I want to use "srand" in a program with "awk" on my mac, and to generate different numbers I want to use systime() as seed. But this error occurs: "awk: calling undefined function systime" Could you please let me know How I can solve the problem? I did not see any function about time in " man awk" description. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
calling systime() function by awk
Top