top | item 36389755

Fhtagn – A tiny CLI programs tester written in Awk

62 points| todsacerdoti | 2 years ago |maximullaris.com | reply

20 comments

order
[+] sn41|2 years ago|reply
Well the entire command should be:

Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn

On a serious note: Is this similar in functionality to "expect" ?

Edit: corrected that expect is not a gnu project, thanks for the correction.

[+] xaduha|2 years ago|reply
Never heard of tush, but I've used cram for a while. I think tools like that are good for some stuff e.g. unix pipes, but complexity catches up with you very fast if you try to use them for something non-trivial.

https://bitheap.org/cram/

[+] pmarreck|2 years ago|reply
I wrote something like this but in Bash https://github.com/pmarreck/tinytestlib but since this accomplishes my own design goals of being able to assert on all 3 things at once (stdout, stderr, return/exit code), and since I have a thing for Awk, and since you can also embed this in a Markdown, I kind of like this better

One enhancement request would be adding a ">" to continue lines

[+] Xen9|2 years ago|reply
C'thulu will be released from his eternal sleep, rolling.
[+] cryptof4una|2 years ago|reply
The Call of Cthulhu is a fantastic piece. But what's your thought process around, reconciling Lovecraft's views on race, with naming your product after his work? Why does he get a pass in tech/internet culture?
[+] Cthulhu_|2 years ago|reply
Something something separating the artist from the art; one can appreciate the mythos and subculture without the racism.

(Also yes I'm a bit biased)

[+] Lacerda69|2 years ago|reply
Nice bait but ill bite: While HP created Mythos its much bigger than the individual and its views.

Tolkien also had lots of questionable views and we can separate his work from the invidual beliefs.

(btw also true forprobably every artist that ever existed as well)

[+] account-5|2 years ago|reply
Does there need to be a thought process? If there does why? Names can just be names regardless of where they came from or who they might be associated with; shockingly the choice of the name might not have anything to do with the racism of the author who made the name up...
[+] senko|2 years ago|reply
Cthulhu is an equal opportunity destroyer.
[+] gfv|2 years ago|reply
I'm pretty sure Lovecraft was at most a passing thought. The more immediate context would be the Putin's internet "AMA" in 2006[1], where "how do you feel about the awakening of Cthulhu" became a meme after becoming the second most popular question. Through the years, it and its associated memes like "fhtagn", "will devour brains", lost their connection with the origin and became a part of the background meme noise. (Compare it with how you don't think about /b/ any time your rickroll someone.)

[1] https://www.sffchronicles.com/threads/41643/