script

My Perl extract program (like head and tail)

A while back I needed to print some lines from the middle of a large text file. I used to use a combination of head and tail to get the results I wanted, but as large as this file was, I needed something much better. Since I couldn't find a tool to do this for me, I wrote one in Perl. Here's the source code and a brief explanation of my extract.pl program.

 

Java compile example - A Linux shell script

A Java compile example: How to compile a Java program from a Unix/Linux shell script.

From time to time circumstances come up where I don't have Ant or an Ant-based project to compile my Java programs. On those occasions (which are very rare these days), I typically use a Linux shell script to compile my Java classes. I thought I'd share this "java compile" shell script here today.

Sat, Dec 14, 2002

I recently ran into a problem where I had about 50 individual HTML documents, with each document was about 2 pages long,  that I wanted to merge into one big HTML document. After merging all of these into one big document, I wanted them to print with their pages numbered 1-100. 

Syndicate content