mysterious bash problem
Fri Jan 16 02:56:00 GMT 1998
>From: Ulrich Lauther <email@example.com>
>Subject: Re: mysterious bash problem
>To: firstname.lastname@example.org (Earnie Boyd)
>Date: Thu, 15 Jan 1998 16:46:02 +0100 (MET)
>> Now that I've learned a bit of history, thanks to Fergus Henderson,
>> best guess is that the file contains line terminators of \r\n. One
>> runs the file because it's mounts are text!=binary. The other
>> because it's mounts are text=binary.
>I run it under Unix through dos2unix and it didn't change its size, so
>there can't be any \r's.
>I didn't do anything abouts mounts on either host, just installed stock
>B18 on both.
>If I insert "#! /bin/sh" as first line, it works. That solves my
problem but not
>How do I inspect mounting? Is there a /etc/mtab ? (I am not currently
Just simply execute the mount command without any parameters. The mount
table is stored in the registry so if your experienced with regedit then
you could look at it that way. If you look at the help from mount
beware that the -b switch is the only one that works properly. The -m
switch has be deactivated and the --reset, well it works, but you won't
like the results.
Speculating again, knowing that you haven't modified anything then you
are most likely setup for text!=binary which means that the \r is
expected. Your file probably worked on the other host because the
method of transferring the file to the diskette added the \r to the
file. Also the editor you are using may be modifying the line
terminators. As a test try your dos2unix program again on the modified
file and see if it still functions.
According to Fergus Henderson and Guy Gascoigne - Piggford the script
should have worked with your : at the top. If your not on the list
check the archives for their responses.
Check out these great gnu-win32 related sites:
ftp://ftp.cygnus.com/pub/gnu-win32/latest/ (ftp site)
http://www.cygnus.com/pubs/gnupro/ (Comercial Page)
http://www.cygnus.com/misc/gnu-win32/ (Project Page)
http://www.cygnus.com/ml/gnu-win32 (Mail Archives)
http://www.itribe.net/virtunix/winhelp-man-pages/ (HTML Man Pages)
http://www.lexa.ru/sos (Sergey Okhapkin)
ftp://www.lexa.ru/pub/domestic/sos/ (Sergey's ftp site)
http://www.fu.is.saga-u.ac.jp/~colin/gcc.html (Colin Peters)
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ (Mumit Khan)
http://gnu-win32.paranoia.ru (Chuck Bogorad's ports)
ftp://ftp.deninc.com/pub (Den Internet Services - US mirror and ports)
Get Your Private, Free Email at http://www.hotmail.com
For help on using this list (especially unsubscribing), send a message to
"email@example.com" with one line of text: "help".
More information about the Cygwin