Archives for: June 2005, 02

02/06/05

Permalink 08:44:04 pm
Categories: General, Programming

Adding headers to files in a batch

Valery just posted a blog article about a tool to insert headers in a bunch of files. I don't have too much to say about that, but the comment form on the blog didn't want me to post the following (a server error message about a potentially dangerous form post, lol), so I thought I'd just put it in my own blog instead. Here's the comment I wanted to post:

Wow! That's some solution for a tiny problem... How about a small shell script:

#!/bin/sh

for file in *.cpp; do
  cat my_new_header > $file.new
  cat $file >> $file.new
  mv -f $file.new $file
done

Certainly not the most elegant solution, but just as certainly it does the job and takes only a few seconds to write when needed.

Permalink 08:34:43 am
Categories: General, Programming, .NET

Video demo of free refactoring for VB.NET

A while ago, Developer Express announced the availability of a free version of their Refactor! product for Visual Basic .NET. The official download page is accessible via this Microsoft page.

Now there's a video available on Channel 9, showing an interview with Mark Miller, the Developer Express chief architect for IDE tools, and Jay Schmelzer, the lead program manager of the Visual Basic team at Microsoft. Mark demonstrates a lot of the functionality of the free Refactor! version, so if you haven't tried it yourself (and even if you have), definitely go check it out!

Click here for the Channel 9 thread on the video, and click here to start the video right up.

Enter your email address:

Search

Oliver
MVP logo
June 2005
Sun Mon Tue Wed Thu Fri Sat
 << < Current> >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30