delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/07/20/19:30:34

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=Yh2hFYs
oI2Q+0nNcc/hELBIE8QYFAxh3dCxoORX+EyVnRfmOvdF3kL6rtUW3tI42UMFJJ5j
8Dsdow3wgqfZyjHbUhaGYB7Ng0KtQwH9K8n3FxznlV6I1RvBYzP2t6EcG8+9zvVe
MJ4qzRU09578N152l9Bw6fGHYqJLTAex/S30=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; s=default; bh=bkl5emS4mRAHT
CNpdxs8UTg+Giw=; b=SEOIJ0Dxn1Irc8Thpsse6crYWVwX+1JTWyYBR2QhSDxVg
IrBHebt3wPXb4OjwD0PARS/UF5Q2Mv0D9SOHMRP6o5vCjgifj6wLtqjegdZvaG8m
lFcSDqsZg+fxtIaMLibW5i1eNQwS/H9Szr2opSaQ+0AuLE/ShKEbYVkSN4NzkM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:740
X-HELO: mail-lj1-f175.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=VG1xEW+pK1e23BQuNfMatUMwAShIYxTB1ocdKOEgrYs=; b=IH4zdtPtE4bGaTgASu9a1kxwHwjXC2qhfa5MmkXD39bHjrRw8/xNSf8APzH+h1Lcof ONGnVXQTt+vSr3USZlyVho7bdYDFVC2Mifv/sLkksts+HQ3WvbpZefWWoLz6LmiJkrUh 3H5QC7U7Y8LnZYpZ0qdNXuWZBARrjv4ROXuR5HdlftHYtkcunwl/qTetvilK/u+L9AsK eQnSBCuvncYidtDDflTgqv2k14ztNCm/XtZ6R1e4t3mrorW7Nja/M6mjUsTVABligCZO IU4z+sDi1ZmscxtTrD9BBflr7unXe9FoCERu2uiSC+1ST3w4CZIeoZqzh5joFAfQGFav 0syw==
MIME-Version: 1.0
References: <CAAxXO2EPifamVsWRX6oVK9OHy5_LoVCM=UeSog0SctnEDq3=8A AT mail DOT gmail DOT com>
In-Reply-To: <CAAxXO2EPifamVsWRX6oVK9OHy5_LoVCM=UeSog0SctnEDq3=8A@mail.gmail.com>
From: Nikos Balkanas <nbalkanas AT gmail DOT com>
Date: Sun, 21 Jul 2019 02:29:30 +0300
Message-ID: <CAAxXO2Ftyox2Jn0-XdEaAv0o_K0i1raFNZ9OgFb-iOTMU=v4Gw@mail.gmail.com>
Subject: Re: Sourcing files in cygwin?
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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 AT gmail DOT 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

- Raw text -


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