[Users] Counting characters

Neil Bothwick neil at digimed.co.uk
Thu Dec 6 17:20:09 CET 2012


On Thu, 6 Dec 2012 11:05:40 -0500, Jerry wrote:

> I occasionally use claws-mail to send text messages to cell phone
> devices. These have to be under 140 characters in total (or maybe 160 --
> I forget). Anyway, does anyone know of a quick way to determine the
> number of characters in the message other than physically counting them?

Try this as an action

 | kdialog --msgbox "Characters: $(wc -c)"

If you don't use KDE, replace kdialog with your desktop's equivalent.


-- 
Neil Bothwick

"There are some ideas so idiotic that only an intellectual could believe
them" George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20121206/143e3444/attachment.sig>


More information about the Users mailing list