Timeline for date: get current 15 minute interval
Current License: CC BY-SA 2.5
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:36 | history | edited | CommunityBot | replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/ | |
| Mar 6, 2011 at 11:09 | comment | added | Peter.O | mattdm... Thanks.. I'm working from only 6 months Linux experience, so I've quite likely used the wrong phrase, but I keep reading about the overheads incurred by unnecessary calls, and in my own experience of testing my own scripts, I've seen many examples where calling printf or sed and also that "unnecessary" cat vs <file does make a dramatic actual run-time difference. when looping, as in my "500 times slower" example.. So it seems that using the shell wherever possible, and allowing a program such as date to batch process is what I mean.. eg. Gilles' Left-Pad-0 example, vs printf | |
| Mar 6, 2011 at 6:03 | comment | added | mattdm | Just for clarification — by "system call", you mean "fork/exec/wait, like the system() call", not system call in general. (I mention this because making system calls also has an overhead within a program, because of the user/kernel switch. That's not the particular issue here.) | |
| Mar 6, 2011 at 5:49 | history | edited | Peter.O | CC BY-SA 2.5 | added 357 characters in body; added 1 characters in body |
| Feb 22, 2011 at 16:57 | history | edited | Peter.O | CC BY-SA 2.5 | added 32 characters in body |
| Feb 22, 2011 at 16:51 | history | edited | Peter.O | CC BY-SA 2.5 | added 133 characters in body; added 2 characters in body; added 24 characters in body; added 29 characters in body; deleted 19 characters in body |
| Feb 22, 2011 at 15:58 | history | edited | Peter.O | CC BY-SA 2.5 | another way |
| Feb 22, 2011 at 15:39 | history | edited | Peter.O | CC BY-SA 2.5 | Fixe a bug and added a full test; deleted 2 characters in body |
| Feb 22, 2011 at 14:32 | history | edited | Peter.O | CC BY-SA 2.5 | added 210 characters in body; added 2 characters in body |
| Feb 22, 2011 at 14:23 | history | edited | Peter.O | CC BY-SA 2.5 | added 8 characters in body |
| Feb 22, 2011 at 14:13 | history | answered | Peter.O | CC BY-SA 2.5 |