delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/31/16:35:19

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankarunni AT netscape DOT net>
Subject: Re: 1.5.21: bash-completion 20060301-1 failure
Date: Mon, 31 Jul 2006 13:31:20 -0700
Lines: 15
Message-ID: <ealpao$ht6$2@sea.gmane.org>
References: <87ac6rlwym.wl%hhalvors AT Princeton DOT EDU> <44CDFAA5 DOT 3010004 AT byu DOT net> <87y7u9n70n.wl%hhalvors AT Princeton DOT EDU>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Thunderbird/1.5.0.5 Mnenhy/0.7.3.0
In-Reply-To: <87y7u9n70n.wl%hhalvors@Princeton.EDU>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Hans wrote:

> ++ awk 'BEGIN {FS=","}
>                                 {for (i=1; i<=2; ++i) { \
>                                        gsub(" .*$", "", $i); \
>                                        if ($i ~ /^demons/) {print $i} \
>                                 }}' /home/David Hasselhoff/.ssh/known_hosts

Aha(?)! I wonder if completion is effectively quoting the argument to 
awk (or if that path is being sent as two paths: /home/David  and 
Hasselhoff/.ssh/known_hosts)..

Try setting your home directory to something like "/home/DavidH~1" (or 
whatever the short form of your actual home directory is :-) and see if 
that works now..


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

- Raw text -


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