Posts tagged ‘unix’

Chock amok

During this calm before the upcoming Apple storm, we should all take time to read and contemplate the 30+ years of command line wisdom summarized in this recent post by Craig Hockenberry. I started using some of his tips right away; others will have to marinate for a while until I’m ready to chew on…


A little sips

Pinboard Popular is currently featuring a listicle written by Mitchell Cohen entitled “Eight Terminal Utilities Every OS X Command Line User Should Know.” It’s a decent enough list, but it’s missing one of my favorites, sips. Sips is the “scriptable image processing system,” and I’ve written about it here a few times. I used it…


Sorting by parts, redux

I got some nice feedback on my “Sorting by parts” post from a few days ago. Enough, I thought, to write a new post instead of just updating the old one. Recall that all of this stems from T.J. Luoma’s original. The idea was to sort a list of domains, like foo.tjluoma.com a.luo.ma bar.luo.ma b.tjluoma.com…


Sorting by parts

A few days ago, T.J. Luoma wrote a short, clever post on how he used the rev command in a pipeline to sort a list of domains and subdomains by domain. It’s a good solution—brief and easy to remember—and introduced me to a command I’d never seen before.1 It also got me thinking about other…


Two simple things

There’s a time for powerful, complex programs and there’s a time for simple little utilities. I had two reminders this week that speedy little programs have a power of their own. I was on the phone with a client on Tuesday, discussing the failure of a piece of equipment back in 2011. We had a…


Dropbox/bin

It’s so easy to see the inefficiencies in someone else’s workflows, but so hard to see them in your own. When you do finally root out some clumsiness in your setup—no matter how small—and replace it with a more streamlined system, it’s a cause for celebration. This is a small celebratory post. I’ve kept my…


Shellhead

One of the nice things about having a plain text archive of all my posts on my local machine is that I can learn more about my writing through the standard Unix toolset. Sometimes it takes a while to figure out the best tool for the job. As I said last night, I now have…


Info man

This is not a post about a superhero librarian. Last week, as I was trying to figure out what the -s option to the sort command really means, I ran into a problem that drove me crazy during my Linux years but which I thought I’d left behind when I switched back to the Mac.…


Unshelled

I’ve spent the last couple of posts dissecting a shell script, one of my most popular posts is about shell scripting, and yet I really hate shell scripting. I was thinking about this last night as I added updates to this small rewrite of Marco Arment’s feed subscriber counting script. Then this morning a tweet…


Many happy returns

I keep getting tripped up by a historical quirk in BBEdit.1 It’s something that regular BBEdit users probably don’t think twice about, but it catches me every time. I’m hoping that by writing about it here, I’ll train myself to think before typing. You know about the line endings problem, right? Those of us who…