From: Nikos Balkanas <nbalkanas@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Sourcing files in cygwin?
Date: Sat, 20 Jul 2019 23:29:00 -0000 [thread overview]
Message-ID: <CAAxXO2Ftyox2Jn0-XdEaAv0o_K0i1raFNZ9OgFb-iOTMU=v4Gw@mail.gmail.com> (raw)
In-Reply-To: <CAAxXO2EPifamVsWRX6oVK9OHy5_LoVCM=UeSog0SctnEDq3=8A@mail.gmail.com>
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
parent reply other threads:[~2019-07-20 23:29 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CAAxXO2EPifamVsWRX6oVK9OHy5_LoVCM=UeSog0SctnEDq3=8A@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAxXO2Ftyox2Jn0-XdEaAv0o_K0i1raFNZ9OgFb-iOTMU=v4Gw@mail.gmail.com' \
--to=nbalkanas@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).