lucky you. you have your cygwin configured to use UNIX line endings
and your editor is giving you DOgS cr-lf. See if you can change the
editor to use UNIX style.
MS

aldo wrote:
> Thank you MS.
> I've just tried to edit the $home/.bashrc file... but with errors when 
> cygwin re-starts. The errors are like this:
> 
> bash: $'\r': command not found
> bash: $'\r': command not found
> bash: $'\r': command not found
> bash: $'\r': command not found
> bash: $'\r': command not found
> bash: $'\r': command not found
> bash: $'\r': command not found
> bash: $'\r': command not found
> 
> sn...@aldo ~
> $
> 
> It seems that bashrc don't want extra lines...
> 
> I don't know how to edit bashrc without return errors...
> 
> Thank you in advance
> 
> Aldo
> 
> 
> 2009/7/27 Michael Schippling <[email protected] <mailto:[email protected]>>
> 
>     My understanding is that all the files in:
>      /etc/profile.d
>     get read into a shell that is started as "login",
>     which /cygwin.bat does. This should include tinyos.sh
>     which is created there when a full TOS install is done.
> 
>     However it's better to use $HOME/.bashrc for personal settings
>     to avoid conflict with re-installs.
> 
>     One little tip, if you are experimenting with a script to set
>     variables you need to "source" it into your shell by typing:
>            "source script.sh"   or   ". script.sh"
>     Otherwise it is executed in s sub-shell and all settings are
>     tossed out with the bath water.
> 
>     MS
> 
> 
> 
>     aldo wrote:
> 
>         Hello,
> 
>         Does anyone know how to configure environmental variables
>         automatically when cygwin starts?
> 
>         I'm trying to create a "tinyos.sh" file in /etc/profile.d with
>         the variables and cygwin returns correctly when I write
>         $printenv MAKERULES but...doesn't work when i do $make on an
>         application.
> 
>         Thank you in advance.
> 
>         Aldo
>         -- 
>         aldo
> 
> 
>         
> ------------------------------------------------------------------------
> 
>         _______________________________________________
>         Tinyos-help mailing list
>         [email protected]
>         <mailto:[email protected]>
>         
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> 
> 
> 
> -- 
> aldo
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to