3 ms·
There's no memorization involved at all. You create a bin script or an alias the first time you do it. i.e. typing `escape-html "<h1>hello</h1>"` in your termi
by wraptile 6y ago
There's no memorization involved at all.
You create a bin script or an alias the first time you do it. i.e. typing `escape-html "<h1>hello</h1>"` in your terminal is infinitely more efficient and easier than firing up some app and navigating some menus. This also supports of all of unix actions like piping and output redirection.
I honestly quite shocked how many developers on MacOs are not familiar with the terminal and are weirdly afraid of it!
- robenkleene 6y agoThis adds setup cost, to create the initial aliases, plus that doesn't remove memorization, it just replaces memorizing the command with memorizing your alias (which I agree is easier, but I have a bunch of aliases myself [1], [2], they're a pain to keep track of). Again, I struggle with what's difficult about imagining someone who's priorities are different? Also... sending HTML as a parameter in your shell? Have you actually tried this? That's going to be a nightmare to escape for anything even a little bit complicated. [1]: https://github.com/robenkleene/Dotfiles/blob/master/zsh/alias.zsh https://github.com/robenkleene/Dotfiles/blob/master/zsh/alia... [2]: https://github.com/robenkleene/Dotfiles/blob/master/zsh/abbr.zsh https://github.com/robenkleene/Dotfiles/blob/master/zsh/abbr...