The following command gives me an undefined function error on my Mac (10.6):
$ Awk 'BEGIN {now = strftime ("% D" System ()); Print:} 'awk: Undefined Function StormTime Calling Source Line Number 1 On a Red Hat system, I get the expected result:
$ Awk 'BEGIN {now = stafttime ("% D", system ());
What's the deal here? <> P> Sprime is a GNU Gock Extension If you want to use Sprime, download GNU and install it on your Mac.Otherwise, there are other tools like Perl / Python that you can use to check whether you have your own Is on Mac