This is the mail archive of the
mailing list for the Cygwin project.
Re: Bash seg faulting?
- From: Doug Henderson <djndnbvg at gmail dot com>
- To: cygwin <cygwin at cygwin dot com>
- Date: Thu, 1 Jun 2017 19:49:41 -0600
- Subject: Re: Bash seg faulting?
- Authentication-results: sourceware.org; auth=none
- References: <email@example.com>
On 1 June 2017 at 18:01, Andy Hall wrote:
> Here is a strange one. I have two scripts, conv.sh and conv.bat that do the same thing: scan the current directory for
> .doc files and convert them to .docx files. Here are the two scripts.
> $ cat conv.sh
Try running "cat -e conv.sh" to see if you have dos line endings, e.g.
CR LF, instead of unix line endings, e.g. LF only.
If you do, run "dos2unix conv.sh" or "d2u conv.sh" to fix the line
ending problem. Check that your editor can create files with unix line
endings, and preserves unix line endings.
Doug Henderson, Calgary, Alberta, Canada - from gmail.com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple