You're replying to a comment by Ogre.

Ogre Permalink
February 10, 2009, 19:16

I was looking for an rtf viewer/editor for unix and had to stop by. I frequently use ed when building ad-hoc scripts. It is the ONLY editor that enables me to change the second occurance(or 3rd) of an RE. Ex and vi change the number of occurances starting with the first. For example: Applying the same sed-script to 99 files and directing the output to a different directory, I need to change the second directory. I usually use ls to find the files I want, past the list to itself, insert 'sed -f changes' in front of each file, then change the second(output) directory. ed is the only way to change the second directory name. In 60 seconds, plus the time to build whatever sed script I need for these files, I have them changed and in another directory.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "lcd_16": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.