Re: cygwin script file name error

Amos Shapira <[email protected]>
Newsgroups gmane.org.user-groups.slug.general
Message-ID <CAF9n_WUnN-iNneSqdQmUX1V+L=1AEtfBbUOMZTzCNyYSAbrO9Q@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.