[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
share
/
awk
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 assert.awk
383 B
SET
[ EDIT ]
|
[ DEL ]
📄 bits2str.awk
334 B
SET
[ EDIT ]
|
[ DEL ]
📄 cliff_rand.awk
307 B
SET
[ EDIT ]
|
[ DEL ]
📄 ctime.awk
234 B
SET
[ EDIT ]
|
[ DEL ]
📄 ftrans.awk
315 B
SET
[ EDIT ]
|
[ DEL ]
📄 getopt.awk
2,202 B
SET
[ EDIT ]
|
[ DEL ]
📄 gettime.awk
2,491 B
SET
[ EDIT ]
|
[ DEL ]
📄 group.awk
1,765 B
SET
[ EDIT ]
|
[ DEL ]
📄 have_mpfr.awk
221 B
SET
[ EDIT ]
|
[ DEL ]
📄 inplace.awk
1,996 B
SET
[ EDIT ]
|
[ DEL ]
📄 intdiv0.awk
462 B
SET
[ EDIT ]
|
[ DEL ]
📄 join.awk
378 B
SET
[ EDIT ]
|
[ DEL ]
📄 libintl.awk
238 B
SET
[ EDIT ]
|
[ DEL ]
📄 noassign.awk
422 B
SET
[ EDIT ]
|
[ DEL ]
📄 ord.awk
937 B
SET
[ EDIT ]
|
[ DEL ]
📄 passwd.awk
1,199 B
SET
[ EDIT ]
|
[ DEL ]
📄 processarray.awk
355 B
SET
[ EDIT ]
|
[ DEL ]
📄 quicksort.awk
1,031 B
SET
[ EDIT ]
|
[ DEL ]
📄 readable.awk
489 B
SET
[ EDIT ]
|
[ DEL ]
📄 readfile.awk
267 B
SET
[ EDIT ]
|
[ DEL ]
📄 rewind.awk
404 B
SET
[ EDIT ]
|
[ DEL ]
📄 round.awk
661 B
SET
[ EDIT ]
|
[ DEL ]
📄 shellquote.awk
472 B
SET
[ EDIT ]
|
[ DEL ]
📄 strtonum.awk
1,454 B
SET
[ EDIT ]
|
[ DEL ]
📄 walkarray.awk
214 B
SET
[ EDIT ]
|
[ DEL ]
📄 zerofile.awk
424 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: gettime.awk
# getlocaltime.awk --- get the time of day in a usable format # # Arnold Robbins, arnold@skeeve.com, Public Domain, May 1993 # # Returns a string in the format of output of date(1) # Populates the array argument time with individual values: # time["second"] -- seconds (0 - 59) # time["minute"] -- minutes (0 - 59) # time["hour"] -- hours (0 - 23) # time["althour"] -- hours (0 - 12) # time["monthday"] -- day of month (1 - 31) # time["month"] -- month of year (1 - 12) # time["monthname"] -- name of the month # time["shortmonth"] -- short name of the month # time["year"] -- year modulo 100 (0 - 99) # time["fullyear"] -- full year # time["weekday"] -- day of week (Sunday = 0) # time["altweekday"] -- day of week (Monday = 0) # time["dayname"] -- name of weekday # time["shortdayname"] -- short name of weekday # time["yearday"] -- day of year (0 - 365) # time["timezone"] -- abbreviation of timezone name # time["ampm"] -- AM or PM designation # time["weeknum"] -- week number, Sunday first day # time["altweeknum"] -- week number, Monday first day function getlocaltime(time, ret, now, i) { # get time once, avoids unnecessary system calls now = systime() # return date(1)-style output ret = strftime("%a %b %e %H:%M:%S %Z %Y", now) # clear out target array delete time # fill in values, force numeric values to be # numeric by adding 0 time["second"] = strftime("%S", now) + 0 time["minute"] = strftime("%M", now) + 0 time["hour"] = strftime("%H", now) + 0 time["althour"] = strftime("%I", now) + 0 time["monthday"] = strftime("%d", now) + 0 time["month"] = strftime("%m", now) + 0 time["monthname"] = strftime("%B", now) time["shortmonth"] = strftime("%b", now) time["year"] = strftime("%y", now) + 0 time["fullyear"] = strftime("%Y", now) + 0 time["weekday"] = strftime("%w", now) + 0 time["altweekday"] = strftime("%u", now) + 0 time["dayname"] = strftime("%A", now) time["shortdayname"] = strftime("%a", now) time["yearday"] = strftime("%j", now) + 0 time["timezone"] = strftime("%Z", now) time["ampm"] = strftime("%p", now) time["weeknum"] = strftime("%U", now) + 0 time["altweeknum"] = strftime("%W", now) + 0 return ret }