Skip to content

Instantly share code, notes, and snippets.

An Idea I Had On Shells

Hi, everyone! I recently found out about the performance benefits of keeping things (specifically command-line utilities) in one binary (groundbreaking, I know), and thought they might have some interesting applications in shell development. Don’t expect anything amazing or not-rambling though -- my ideas are not very well-formed at the moment.

GNU’s find and grep

Let’s say you are looking for {files,directories} that are named rust. Well, you might start with getting an overview of what you’re dealing with:

$ find .