* You are viewing Posts Tagged ‘lsrc’

Transposing Banner

I’ve lived on unix shells for a decent amount of time (I’d say about 1/4 my life, at this point, or 6 years, for those counting), and have occasionally been bored and started playing with the banner program. It’s pretty simple. You type “banner hello” and it gives you a big printout of the word “hello.” The problem is that it’s vertically aligned, so it looks like this:

Well, this kind of sucks for trying to make fun of people. So I’ve always wanted to fix it to where it puts out horizontal text, but have been too lazy, until today when I had some time at Lone Star Ruby Conf. Got a way to solve it? Click in to see my leet solution.
Continue Reading