時々HTMLメールを受け取るときに「>」というプレフィックスが付いたテキストで返信したいと思います。
私が文字を返信するときにThunderbirdがすることは、段落全体に「>」プレフィックスを追加することです。たとえば、
> Mozilla Thunderbird is a free and open-source cross-platform email client, personal information manager, news client, RSS and chat client developed by the Mozilla Foundation. The project strategy was originally modeled after that of the Mozilla Firefox web browser.
Thunderbirdに以下を生成する設定はありますか?
> Mozilla Thunderbird is a free and open-source cross-platform
> email client, personal information manager, news client, RSS
> and chat client developed by the Mozilla Foundation. The
> project strategy was originally modeled after that of the
> Mozilla Firefox web browser.
答え1
使用:
fmt -w 65 file |sed -e 's/^>//' -e 's/^/>/'
出力例:
>Mozilla Thunderbird is a free and open-source cross-platform
>email client, personal information manager, news client,
>RSS and chat client developed by the Mozilla Foundation. The
>project strategy was originally modeled after that of the
>Mozilla Firefox web browser.