Politics and Technology.

Friday, April 17, 2009

Behind The Letter

RU President Richard McCormick released (another) letter to the University's community this week portending the next budget's fiscal woes that already seemingly perpetually plague the school. I believe this letter could potentially expose Dick McCormick to a scandal.

I considered the letter to be the first really honest communication I've read from him. It outlined the University's budget shortfall and the steps he's ordered to meet the challenges that we would face. As I read the letter, I was pleasantly surprised as I felt that for once the president didn't leave me room to criticize. Make no mistake, the letter outlined a bleak picture of hardship, but at least Dick was open about the work that lay ahead.

The measure that most impressed me was his announcement of layoffs. At a public institution, a round of layoffs is significant. He mentioned the 5% contractually obligated salary increase to the faculty and staff as an important detail. Dick's letter carefully tread around the issue of the union giving back the increase in order to save jobs by mentioning how the State is dealing with its shortfalls with those actions. I was left with the impression that the union was approached about the idea of wage freezes and furloughs and it dismissed it out of hand.

Then I read Gannett's report on the letter, and once again found myself despising Dick.

The report quoted Lisa C. Klein, president of the American Association of University Professors at Rutgers, as saying, "We have not been asked to open our contract."

To open the contract, the union will, rightly, demand to see Rutgers' books to determine if all steps have been taken to avoid layoffs.

So, this begs the following question. Is McCormick avoiding a renegotiation of the contract in order to prevent public scrutiny of Rutgers' books? If so, what embarassing details is he hiding?

If his intent is to prevent public scrutiny, as I am not apt to dismiss out of hand, then McCormick is willing to make other people jobless in order protect himself. How selfish would that be? It would be so selfish as to be scandalous.

I sincerely hope there are other valid reasons for him to have not approached the union at this time.

Wednesday, April 15, 2009

Stripping Control-M

One annoying little consequence of being a Unix geek in a Windows world is the common problem of having to strip "^M" (or "control-m" or carriage returns) before the line breaks of text files. These files were typically created on a Windows box, where lines are separated with carriage return line feeds, and transferred to a Unix box, where only a line feed is used.

As the adage goes, there's more than one way to skin a cat (it just depends on how you want the pelt to look), there are many little tricks and tools to remove the "^M" from text files. Unfortunately, I go through this exercise so infrequently that every time I encounter the problem, I forget some of the solutions and am forced to spend 10 or so minutes looking it up.

So, at least for my sake, I'm going to record some ways here. Where "^" is indicated, hold the "Ctrl" key and press the next character.

Perl Judo:

# cat windows.txt | perl -e 'while (<>) {s/\x0D//g; print;}' > unix.txt

Transcode Karate:

# cat windows.txt | tr -d "^v^m" > unix.txt

GNU Kung Fu (Solaris variety)

# dos2unix windows.txt unix.txt

GNU Kung Fu (Linux variety)

# dos2unix -n windows.txt unix.txt

Editor Jujitsu (Vi flavored)


Editor Jujitsu (Emacs flavored)

esc-x comint-strip-ctrl-m