On Mon, 2009-06-08 at 15:55 +0200, Thomas Anderson wrote:
> Can anyone recommend a program/shell script/editor plugin etc, that
> can take arbitrary text as input and quote it like email programs
> quote emails with a preceding "> " character?
> 
> I'm about to reply to a very long facebook message and want to quote
> it and make inline replies. But facebook only supports top-posting.
> I'd like to cut-n-paste the text I wish to reply, quote it with "> "
> and then cut-n-paste it back into my facebook reply message. I'd also
> like line breaks to be put in once every 80 characters (email
> standard?).

As an aside, I use the "It's all text" firefox plugin to let me fire up
the editor of my choice (gvim, in my case) for any web text box.

Then I'd use the editors features to format it. I can't remember how to
do the line wrapping stuff in vim, but

:s/^/> /

should work for the quoting, as with the sed example someone else gave.

Richard



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to