daily snapshot | 22 april 2011

April 22, 2011

  • “Sed is the ultimate stream editor. If that sounds strange, picture a stream flowing through a pipe. Okay, you can’t see a stream if it’s inside a pipe. That’s what I get for attempting a flowing analogy. You want literature, read James Joyce.” – http://www.grymoire.com/Unix/Sed.html
  • Minimal usable syntax for describing Turing-complete set of operations on arbitrary text streams ?
  • Java boxing, heap pollution and long-term worst-case app performance. Unknown pleasures.
  • Extract unique values from “number 424242“-style patterns in newline-delimited file :  cat file | grep number | sed ‘s/.* number \([0-9]*\) .*/\1/’ | sort | uniq -c
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: