Archive › Programming

Exceptional Cow?

I’ve been meaning to read Exceptional C++ for a while now. I went to check to see if my local library had it. I guess not:

Comments ( 0 )

cleartool label stuff with a new label

This is a common thing I have to do. Label stuff with a new label. What stuff? Everything from my current directory down using my current config spec. Here’s the code mklbtype : create a new label mklabel: apply label

Comments ( 1 )

cleartool obsolete all my branches

I want to go through all of the work package branches that belong to me in a particular vob and mark them as obsolete. These are development branches that I don’t need anymore, and would rather not see in the default version tree. My solution below works because I name all of my development/work package [...]

Comments ( 0 )

ack – better than grep

Just ran across ack. I’d have to agree, better than grep. I like the coloring, ease of use, and compatibility with the grep flags I’m used to.

Comments ( 1 )

Replace tabs in a file with two spaces with perl

Occasionally I run across a source file with tabs in it. There are many ways to remove tabs. I prefer to use perl from the command line. Replace all tabs with two spaces in a command line perl script: And, with bash, do it for all files in a directory that have a tab

Comments ( 0 )
Page 2 of 512345