Though I should probably change that to Which womanual page do you want? -- would that involve re-compile or is there a patch?
Recompiling yields the best results, but this should do in the meantime:
#!/bin/bash
ARG=${1/woman/man}
man $ARG > /dev/null 2>&1
if [ $? -eq 0 ]; then
man $...
No clue how that one stayed open.
My submission seems to be poorly golfed. I should revisit all my SU answers.
@Doorknob It's called once when the program starts, so I don't really care. :P I would like to know why my interpreter has a start-up time of 300ms though...
I'm using python -m cProfile -s calls myscript.py
python -m cProfile -s percall myscript.py does not work.
The Python documentation says "Look in the Stats documentation for valid sort values.": http://docs.python.org/library/profile.html#module-cProfile, which I cannot find.
Well, cumtime says {built-in method exec} is the culprit, which isn't exactly helpful. The highest tottime is from {built-in method loads}, with 34 ms.
(sorry because i am not sure if i'm asking my question in the right community or even if i'm considering the least level and standards here but):
recently i started and read some initial issues about micro-controllers and how to code..., how to program them and consequently i guessed that all pro...
I haven't read it in the original English, only in Spanish, but I thought it was alright. Definitely better than most fiction books which deal with computers. Some interesting ideas.
Is it a lipogram? code-golf
A lipogram is a block of words that omits a particular symbol. Right now, I am avoiding our fifth symbol of the 26 that commonly show up. You should know by now what I am omitting. If not, look up "lipogram" and you will know.
Your Task
With a char, a blank, and a f...
I had thesaurus.com open on the other monitor while I was writing that. :P
The task is very simple, when given an input, output one of the following spirals:
Input = 1 gives a spiral with the letter A beginning in the top left corner:
A B C D E F
T U V W X G
S 5 6 7 Y H
R 4 9 8 Z I
Q 3 2 1 0 J
P O N M L K
Input = 2 gives a spiral with the letter A beginning in the t...