[PATCH] awk: add mktime builtin command

Leonid Lisovskiy lly.dev at gmail.com
Mon Sep 14 12:15:54 UTC 2009


 I would like to suggest to add mktime builtin command to awk applet.
Original patch author is unknown for me, but this patch is very useful
in busybox on MIPS platform (wireless routers).

bloat-o-meter result for linux on i386 platform:

function                                             old     new   delta
evaluate                                            6050    6148     +98
.rodata                                            87979   88011     +32
tokenlist                                            441     448      +7
tokeninfo                                            396     400      +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 141/0)             Total: 141 bytes

Regards,
   Leonid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: awk-mktime.patch
Type: application/octet-stream
Size: 2333 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090914/83ca4404/attachment.obj>


More information about the busybox mailing list