Word Count Question.

2006-04-13 Thread Max von Seibold
I'm trying to write a small word counting script - I'm certain there are zillions out there but it seemed a good learning exercise... Bascially I read in each line from my text file which I want to count with a basic while loop and file handle. The problem is on the count. I know I could spli

Command Line Question

2006-04-08 Thread Max von Seibold
Hello, I want to run an image conversion program to rotate the contents of an entire directory. This is run as thus: "jpegtran -rotate 90 *.jpg" The problem is that I need to specify the filename for each converted image. Is there some command which 'takes' the value of the file for each