- August 2010
- July 2010
- June 2010
- May 2010
- March 2010
- January 2010
- November 2009
- October 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- May 2007
- April 2007
- March 2007
Unix sed command
I wanted to make a book that begins in English and slowly turns into French (or Spanish, Italian, etc.), by replacing more and more phrases as it progresses. That way, context clues can be used to determine meaning much the same way they are used to figure out unfamiliar words in one’s native tongue.
Anyway, I thought this would be a good premise to base the first excercise of Programming A to Z on. On the command line, I created a text file of Hans Christian Anderson’s The Little Mermaid and replaced every instance of the word ‘little’ with ‘petite’, using the sed command.
