Sourcing files in cygwin?

Nikos Balkanas nbalkanas@gmail.com
Sat Jul 20 23:29:00 GMT 2019


Searching in the web, I found out the problem:
Cygwin requires unix line breaks, the ones I supplied were created in windows:(

On Sat, Jul 20, 2019 at 9:42 PM Nikos Balkanas <nbalkanas@gmail.com> wrote:
>
> Hi,
>
> I am trying to source the file .alias in my ~/.bashrc file:
>
> echo "alias = $(ls -la ~/.alias)"
> . ~/.alias
>
> I get:
>
> alias = -rwxr-xr-x 1 <user> None 117 Jul 20 20:15 /home/<user>/.alias
> : No such file or directory
>
> Seems ls understands fine the ~/.alias notation and the file exists.
> Sourcing, however, doesn't. Or is it that sourcing doesn't work in cygwin?
> Can't understand from the error:(
>
> TIA
> Nikos
>
> Attached is the zipped cygcheck output with user crossed out

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list