Category Archives: Law

Email Problem?

I’ve got a file containing all my sent email for the past decade in date order. I want to find it for the years 2011 and 2012. My bash (or perl?) scripting skills are pretty rusty, but here is the pseudocode for what I need to do:

******************************

Open original text file read only

Open new file for writing

Set Printflag to “false”

For each line of file

   If match regular expression “Date: .* 2011” set Printflag to “true.”

   If match regular expression “Date: .* 2013” set Printflag to “false.”

   If Printflag, copy line to new file

Close both files.

******************************

Note that the regular expression may have to be a little more specific (like maybe include a match for [Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec] between “Date:” and the year). The format for a full line would be

“Date: Fri, 02 Oct 2009 14:41:31 -0400”

The idea is to scan the file until 2011 begins, start echoing lines to the new file, and stop doing it when 2013 begins. Maybe exit at that point so it doesn’t waste time or cycles going through the rest of it.

[Update a while later]

Never mind, I got the answer from Twitter.

[Saturday-morning update]

For those curious, here’s the solution to the problem:

$ perl -ne “print if /Date:.*2011/../Date:.*2013/” $oldfile >> $newfile

Healthcare Insanity

I just got the doctor’s bill for my back problems. The doctor’s visit was $900, which seems crazy high to me for five minutes with her, but the insurance paid for it. The X-ray was a couple hundred bucks, but the insurance covered that, too.

But the insurance didn’t cover all of the back brace (which I only wore for a day or two, after deciding it wasn’t doing me much good). It only covered $4350 dollars, and I got stuck with the bill for the other $644. Yes, that’s right; they charged five effing grand for a lumbar-support brace.

After Christmas, I’m going to raise hell. There has to be some kind of mistake. If not, I’m going into the back-brace business.

[Update a while later]

Note: I haven’t been billed for the MRI yet. I can’t wait.

The FISA Mess

Yes, multiple someones need to go to prison. Or rather, justice requires them to.

[Update a few minutes later]

The problems pointed out by the IG go far beyond “errors” and “sloppiness.” It was a fraud on the court, in order to set up innocent people. And who knows how much more of it has been going on? At a minimum, Flynn’s conviction should be overturned.

[Update a while later]

John Brennan (someone else who should be wearing orange) says that the FBI were “doing their level best.”

[Update a while later]

James Comey is a pathological liar.

Well, yeah, ya think?

[Update late morning]

Horowitz destroys the media lie that he found no political bias.

The IG Report

It undercuts Nadler’s credibility on impeachment. Not that he ever had much to begin with.

It also proved something that’s been pretty obvious for years; Adam Schiff has been a serial liar from the beginning.

[Update a couple minutes later]

Schiff town hall erupts into cries of “liar” and “treason.” They’re not wrong. Unfortunately, his seat is probably safe in that district, which is why he can get away with this.