I don't see the ^M's that I was expecting. Is this file cleaned and working? Perhaps "cat" in Cygwin requires an additional option to show ^M's?
On 21 February 2014 21:44, <[email protected]> wrote: > 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 > -- [image: View my profile on LinkedIn] <http://www.linkedin.com/in/gliderflyer> -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
