February 28, 2006

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.

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, will not be shown)

(Optional)

Are you sentient?

Comments use Markdown syntax. HTML will be stripped out.

  • New para: two carriage returns
  • Emphasis: *emphasis*
  • Bulleted list: - bullet item
  • Ordered list: 1. numbered item
  • Blockquote: > "To the Batcave!"
  • URLs get automatically linked: http://yahoo.com
  • To create an inline link like Yahoo!: [Yahoo!](http://yahoo.com/)