gnokii-users
[Top][All Lists]
Advanced

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

works on commandline but not in script


From: justin case
Subject: works on commandline but not in script
Date: Thu, 12 Jun 2003 17:55:52 +0200

hi,

i sucessfully run gnokii under redhat 8.0 so far with a nokia 6210.
strangely the following shell-script refuses to work, but the command itself
works on the commandline:

##########################################################

#!/bin/sh

while true; do

             gnokii --getsms IN SM 1 SM 15 -f /tmp/sms

             sleep 5

            done

##########################################################

i always get the usage-info for gnokii displayed. if i do without SM 15 it
works, but only picks up the first sms.


any ideas would be greatly appreciated.

my regards,
/jc





reply via email to

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