I’ve been experimenting with getting regular expression patterns to match over multiple lines using sed. For example, one might want to change <p>previous text</p> <h2> <a href="http://some-link.com">A title here</a> </h2> <p>following text</p> to <p>previous text</p> No title here <p>following text</p> sed cycles through each line of input one line at a time, so the most […]
Tag Archives: Linux
How I Rip and Encode MP3s on the Ubuntu Linux Command Line
April 10, 2008 – 7:00 am
I like to know how to use the command line for everything I can. Here are the tools and commands I use to make mp3s. First, I rip from the CDROM to a wav file. cdparanoia 1 prokofiev1.wav cdparanoia lets me specify the input device, but I don’t need to, since the default—/dev/cdrom—is what I […]
1 in 4 Million
September 7, 2006 – 12:43 pm
Apparently there are four million of us Ubuntu users (I’m assuming they’re including Kubuntu in the mix). That sounds like a lot, until you realize that it’s only about 2/3 the number of Windows computers that are zombies.
Upgrade
July 21, 2006 – 11:13 pm
Yesterday I upgraded my main computer from Kubuntu 5.10 (Breezy Badger) to 6.06 (Dapper). It’s probably one of the most painless upgrades of any that I’ve done: I few lines changed and typed, and apt-get does it all.
Flash for 64-bit Fedora Core 4
March 21, 2006 – 10:58 pm
I complained last week that there’s no Flash for Linux 64-bit. Ziobudda asked why I didn’t just install the 32-bit Firefox. Why not? I couldn’t think of any good reason. So here’s how I did it. First of all, I wanted to use yum so I could avoid all dependency issues (not to mention it […]
Funny
March 15, 2006 – 6:11 pm
I went to register for the LinuxWorld Expo coming to town next month, and I can’t see most of their site. I can’t see it because it’s Flash-based, and there’s no Flash for my computer’s operating system and architecture: Linux 64-bit.