3 ms·
A tool like "replace" is actually very useful for someone like me. Within the past year I've been learning OS X and the associated Unix environment (coming fro
by Xcelerate 14y ago
A tool like "replace" is actually very useful for someone like me.
Within the past year I've been learning OS X and the associated Unix environment (coming from a Windows background). At times I wonder how to do find/replace in the command line. So I look at sed. Glance over the man page -- what the heck? Google it; okay's so there's apparently different versions of sed, and OS X has something weird with -i since it's BSD sed instead of GNU sed... and oh look! It uses a different type of regular expressions than I've been using for the past 10 years. And, oh crap, I just accidentally overwrote my file because I typed in the command wrong.
The alternative for me is to open the Coffee REPL and get that crap done in seconds.
Yeah, I'm slowly picking up the Unix skillset (and Vim is invaluable after finally getting around to learning it), but I think people forget the sheer amount of memorization involved to navigate in a Unix environment.