frangipanni
Program to convert lines of text into beautiful tree structures. The program reads each line on the standard input in turn. It breaks each line into tokens, then adds the sequence of tokens into a tree structure. Lines with the same leading tokens are placed in the same branch of the tree.
—
https://github.com/birchb1024/frangipanni
Month: March 2021
Do Not Use ‘>’ in Your Command P
Do Not Use ‘>’ in Your Command Prompt (and How to Stay Safe in Shell)
Over the years of troubleshooting performance problems in the Unix/Linux world, I have seen multiple cases where a regularly used command line tool in a customer server just stops working for some reason. The tool just returns immediately, doing absolutely nothing.
—
https://tanelpoder.com/posts/how-to-stay-safe-in-shell/
sd: my script directory
sd: my script directory
Hi! You’re reading an old post, and some of might be out of date. Check out this newer post for an update on the state of sd, or jump straight to the GitHub repo for the latest news. sd is a command on my PATH. It dispatches its arguments to my script directory.
—
https://ianthehenry.com/posts/sd-my-script-directory/
Performance comparison: counting
Performance comparison: counting words in Python, Go, C++, C, AWK, Forth, and Rust
Summary: I describe a simple interview problem (counting frequencies of unique words), solve it in various languages, and compare performance across them. For each language, I’ve included a simple, idiomatic solution as well as a more optimized approach via profiling.
—
https://benhoyt.com/writings/count-words/#unix-shell