notepad and write all use CR LF line ends. Have a look at Notepad++ and check for unix line endings or LF.

There is also an options somewhere to use CRLF line ends in cygwin, never used it but remember it from install years ago...



-----Original Message----- From: Voytek
Sent: Friday, February 21, 2014 5:05 PM
To: kfos...@tpg.com.au ; slug@slug.org.au
Subject: Re: [SLUG] cygwin script file name error



kfos...@tpg.com.au wrote:
This will be an unreadable character in your script.

Cygwin has two modes Unix line ends and Windows line ends.    The ? is
actually a \r

In 'vi'   ':set ff=unix'    ':wq'  to switch line endings.

if there is a \r showing go to it and press 'x' to delete it.

If I type in notepad? or in write? can I then copy and paste into vi?
Our will that cause problem?
--
Sent from Kaiten Mail. Please excuse my brevity.



-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4335 / Virus Database: 3705/7111 - Release Date: 02/20/14


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4335 / Virus Database: 3705/7111 - Release Date: 02/20/14

--
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