This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: UID for bash





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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]