www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/28/05:30:22

From: earnie_boyd AT hotmail DOT com (Earnie Boyd)
Subject: Re: UID for bash
28 Oct 1997 05:30:22 -0800 :
Message-ID: <19971028131649.21729.qmail.cygnus.gnu-win32@hotmail.com>
To: gnu-win32 AT cygnus DOT com



>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 AT hotmail DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019