gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnokii charset in procmailrc


From: Anna Skorokhodova (Yandex)
Subject: Re: gnokii charset in procmailrc
Date: Fri, 29 Jun 2012 16:41:47 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1



On 29.06.2012 16:28, Baurzhan Ismagulov wrote:
On Fri, Jun 29, 2012 at 04:18:25PM +0400, Anna Skorokhodova (Yandex) wrote:
so for now i'd like to write protocol of delivery.
for each successful delivery gnokii writes
----
GNOKII Version 0.6.29
Send succeeded with reference 18!
-------
how can i suppress output of gnokii version at "sudo gnokii
--sendsms XXXX>>  gnokii.log"  I'd like to log sending status only
to log.

maybe there is any logger for gnokii ?
None that I'm aware of. I've always wanted a --quiet mode with a status
code only. Depending on your needs, grep -v "GNOKII Version" could work
for you.

unfortunately, grep -v does not work "on fly"  (sed or tr also)
----------
mail2:~$ echo "test multiple" | sudo /usr/bin/gnokii --sendsms 791XXXXXXX | grep -v "GNOKII Version 0.6.29"
GNOKII Version 0.6.29
Send succeeded with reference 42!
------

--
A.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]