On Fri, February 21, 2014 8:05 pm, Amos Shapira wrote:
> BTW, in addition to the rest that was said, "cat -tve" is very useful in
> troubleshooting such issues.

>> $ cat /home/voytek/sendsms
>> #! /bin/sh
>> cp /var/spool/sms/sms_out /var/spool/sms/sms_out_now.txt date  >>
>> /var/spool/sms/sms_out_now.txt
>> mv /var/spool/sms/sms_out_now.txt /var/spool/sms/outgoing/

Amos,

thanks !

$ cat -tve sendsms
#! /bin/sh$
cp /var/spool/sms/sms_out /var/spool/sms/sms_out_now$
date  >>  /var/spool/sms/sms_out_now$
mv /var/spool/sms/sms_out_now /var/spool/sms/outgoing/$
$



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to