This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: UID for bash
- To: gnu-win32 at cygnus dot com
- Subject: Re: UID for bash
- From: "Earnie Boyd" <earnie_boyd at hotmail dot com>
- Date: Tue, 28 Oct 1997 05:16:49 PST
>Sergey's patches seem to require that you mount your filesystems with
flag
>`binary'. But if you do that bash can't execute scripts with CR/LF as
line
>terminator. Check with `od -c /usr/home/.bashrc', and if there are CRs
in
>it just strip them out.
>
There a several ways to "strip them out". I do it this way:
mv .bashrc .bashrc.tmp
tr -d "\r" < .bashrc.tmp > .bashrc
rm .bashrc.tmp
- \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd@hotmail.com-
------ooo0O--O0ooo-------
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".