Search Results

Search: Posts Made By: Scrutinizer
Forum: HP-UX 12-24-2018
13,333
Posted By Scrutinizer
Yes, but +%s is GNU and BSD date only. So IMO...
Yes, but +%s is GNU and BSD date only.
So IMO on HP-UX the best bet appears to be perl again:
perl -le 'print time'
Forum: HP-UX 12-24-2018
13,333
Posted By Scrutinizer
@Bakunin: that looks like a neat trick. It does...
@Bakunin: that looks like a neat trick. It does not seem to work on HP-UX, however (max 24 hours)...
It appears to only work on AIX and IRIX to the full extent.

I found the following maximum time...
Forum: HP-UX 12-24-2018
13,333
Posted By Scrutinizer
There usually is a ksh93 version available on...
There usually is a ksh93 version available on HP-UX systems:
/usr/dt/bin/dtksh
But it does not support %T functionality.

I think your best bet would be perl.

perl -MPOSIX -sle 'print...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy