goer.org

« A Biologist, a Physicist, and and Engineer Walk Into a Bar... | Main | You Don't Need No Fancy Math or Nuthin' »

Money Down the Drain

Goddamnit. I wasted almost ten minutes today figuring out why s/</&lt;/g wasn't doing what I wanted it to do. Duh.

How I was allowed to graduate college without having sed fundamentals burned into my brain, I will never know.

Posted by Evan Goer on Feb. 28, 2006 at 3:26 PM | Comments (4)

Comments

  1. The pipe is your friend!

    Posted by Auros on Mar. 01, 2006 at 2:26 PM

  2. But the problem was with the unescaped ampersand. How would using the pipe have helped?

    Posted by Evan on Mar. 01, 2006 at 5:55 PM

  3. I misread the expression, and thought you were trying to do something else.

    Posted by Auros on Mar. 07, 2006 at 5:44 PM

  4. This is a test comment.

    Posted by Evan on May. 06, 2006 at 1:08 PM

Post a comment

(Optional, but hides your email address)

Are you a spammer? (REQUIRED — you must select "No" to post.)

NOTE: For mysterious reasons, comment posting is extremely slow right now. It can take from 30-60 seconds after you hit "Submit" for your comment to post. However, your comment will go through; you shouldn't need to click the button again.

Comment Syntax

The basics:

  • For a new paragraph, enter two carriage returns.
  • Plain URLs such as http://www.yahoo.com automatically become links.
  • The system encodes all angle brackets and ampersands. For example, if you try to enter a HTML paragraph, the system displays the open tag literally as "<p>".

Show advanced syntax

About

This entry was posted on February 28, 2006 by Evan Goer.

For more entries, you can visit the main journal page or browse through the complete archives, which date back to 2001.

Subscribe to this Site

(What does subscribing mean?)

Copyright

Creative Commons License Text released under Creative Commons.

To use this license, you must attribute this work properly. This license does not extend to comments unless the original poster of that comment states otherwise.

Powered by Movable Type 3.33.

Home | About | Journal | HTML Tutorial

© Copyright 2001-2007, Evan Goer. Some Rights Reserved. Last Updated April 20, 2009.