X-Recipient: archive-cygwin@delorie.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:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=V8a9ail
	1IGWVx7TapO7qh8bARQjFJ6SAYABeWEWArImc8CB88NEUJ+nqo5ToiKFgM9LikHf
	UrAweKjooMaNOUVvjHkOjJoZFedvU46qrnn7YwDp+sFk4qpedYYkTLnkZqJOaRie
	dkDNiMvgCQMAbGir8P5ex0INQF50kZWVbyrA=
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:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=cWIghVVfJpDOG
	cISZ/TOWlEoWC4=; b=cslHHcr7TalArjGskX62CB9qMuBPWzNz7+JZLwzisPISb
	207leldlmtI4xFWwBObwtoCxNSekn8JV2nE8FDDhX4rCceSJ7g5mVZhWIA7Ul5jf
	U82/XItVCmZZvXazA8GLWDNKqkwlLtBtRjCWaZK5OBQzvugwVbgy7aKQwpYfis=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Forwarded, cygwin@cygwin.com, cygwincygwincom, lee
X-HELO: mail-it0-f42.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:from:date         :message-id:subject:to;        bh=t+HyL/VykMAOJGauK2CjAC+mzKCWRo9ELvEaeMn8K94=;        b=M3Eed18zn0ffgCPdeklyubEdI0QOWwrWbq/skj27tyAu/JaCkOPapDBHWKkcMxceRT         LsYlVDRgPM/8gKNULL0fQjHrAxMQM+97wnJupFz5DaZay1EmK2ZForEynCCcfmidLkQR         fINp09Wos4u2gDqPKBBeHSGACdxkx+6CFcFcs2Wom0cLJ5IAasXr7COFCyxOj5Qot9ns         A2UGbVxcpRMb+QPPehTCwgJbIRvbJ3d7r1bAEHUz9rNnW3egBIBeaRqAw56yjkOAimnE         2jsfIXb8xAF9firhoT+wH7AB6UNahRNxgzmb9AGYnAmeQ4jRB6W9/n7LjFLxlHaXZnGn         UYGg==
X-Gm-Message-State: AEkoouvlKNU7xwUq39/MIqJEFZ419HsJCD0WqOla+KVjJAZSRTNBMBzrma46dluA399+4A8O4kGPDqWVGP46fA==
X-Received: by 10.107.12.223 with SMTP id 92mr4666670iom.158.1472053863976; Wed, 24 Aug 2016 08:51:03 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <CAD8GWsu_oU3tN+NBkdzkS8zF+X6dfgbbqHUtmJ7WJvTUdYzBWA@mail.gmail.com>
References: <CAD8GWsu_oU3tN+NBkdzkS8zF+X6dfgbbqHUtmJ7WJvTUdYzBWA@mail.gmail.com>
From: Lee <ler762@gmail.com>
Date: Wed, 24 Aug 2016 11:51:03 -0400
Message-ID: <CAD8GWssR=aAp=ahid_SbrSAyC7L5dPuzixpYt6r3qw=g01E1ow@mail.gmail.com>
Subject: bash tab completion
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

Anyone else have this problem or is it just me?

Thanks
Lee

---------- Forwarded message ----------
From: Lee <ler762@gmail.com>
Date: Sat, 6 Aug 2016 12:36:25 -0400
Subject: bash tab completion
To: cygwin@cygwin.com

I have
  # No over-writing files
  set -o noclobber
in my .bash_profile, so if I want to redirect output to an already
existing file I have to use " >| "

What I recently noticed is that tab completion doesn't work after >|

For example:

$ ls /tmp/xc*
/tmp/xcompile.diff

$ diff > /tmp/xc[tab]
and it expands to "$ diff > /tmp/xcompile.diff "

$ diff >| /tmp/xc[tab]
and nothing happens.

What seems a bit strange is that
$ diff >| /tmp/xc<alt>M<alt>-<alt>/
gives me
$ diff >| /tmp/xcompile.diff

"/tmp/xc" doesn't start with any of "$~@", there is no command, alias
or function that starts with "/tmp/xc" and so it seems like tab
completion should give me the same thing as <alt>M-/ but it doesn't
:-(


Is there something I need to do so that tab completion after " >| " works?


TIA,
Lee

--
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

