Timeline for It's [current year] already, folks, go home
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 3, 2017 at 12:27 | comment | added | manatwork | Not a great reading, but we used to point freshmen to On “interactive” answers and other special conditions. Generally, is free whatever is strictly necessary to let the interpreter find the code. | |
Apr 3, 2017 at 12:06 | history | edited | Max Mikhaylov | CC BY-SA 3.0 |
Edited answer since a better one was suggested
|
Apr 3, 2017 at 12:03 | comment | added | Max Mikhaylov |
@manatwork I didn't know that -f is free. But it's shorter the way you say it, no matter if it was free or not. I am really confused when counting command line options towards the byte count. Is there a rule or a post that talks about which options count and which don't? I couldn't find it on my own.
|
|
Apr 3, 2017 at 11:01 | comment | added | manatwork |
Actually that is just 60 bytes. The enclosing single quotes and the escape code for single quote are needed only because the shell. You can put the code in a file max.awk and run it as gawk -f max.awk , so becomes clear that only the 60 bytes in the file needs to be counted. (The -f command line option is for free, other command line options would be counted.)
|
|
Apr 2, 2017 at 13:05 | history | answered | Max Mikhaylov | CC BY-SA 3.0 |