"This post sets a challenge; the goal is to come up with a bash one-liner (which can include multiple statements, pipes, etc. to arbitrary level) which removes "incriminating" lines from the .bash_history file, without looking too incriminating itself [...] feel free to leave your offerings in comments to this post..."
Read more »Famous Sed One-Liners Explained, Part III
http://www.catonmat.net –
"This is the third and final part of an article on the famous sed one-liners. This part will explain sed one-liners for selective deletion of certain lines and special applications of sed. See part one for introduction of the series..."
Read more »Famous Awk One-Liners Explained, Part III
http://www.catonmat.net –
"This is the third and final part of a three-part article on the famous Awk one-liners. This part will explain Awk one-liners for selective printing and deletion of certain lines. See part one for introduction of the series..."
Read more »Famous Sed One-Liners Explained, Part II
http://www.catonmat.net –
"This is the second part of a three-part article on the famous sed one-liners. This part will explain sed one-liners for selective printing of certain lines. See part one for introduction of the series..."
Read more »



