“awk: Function systime is not defined.”
but systime is a built in command
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On Solaris,
/usr/bin/awkis by default a link to/usr/bin/oawk, which does not recognizesystimeas a built in (or a lot of other extensions over the 7th Edition AWK). Either relink/usr/bin/awkto/usr/bin/nawkor usenawkdirectly, or get GNU Awk (gawk) installed and use that.Other Unix systems like HP-UX, AIX may have similar issues. MacOS X (and, by inference, BSD) install a non-GNU, non-extended version of
awk(thanks for the correction, DMcKee). Linux does not; it uses GNU Awk as the main/onlyawk. Of course, GNU Awk can easily be installed on any of these systems.