X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.8 required=5.0	tests=BAYES_50,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: "Thomas Wiedmann" <th.wm@gmx.de>
Subject: alias command not effective
Date: Mon, 17 Jan 2011 09:24:44 +0100
Lines: 20
Message-ID: <ih0u79$44j$1@dough.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain;	format=flowed;	charset="iso-8859-1";	reply-type=original
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
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

Hello,

After defining an alias, e. g.

  alias laf='ls -la' | grep -v "^d"

the subsequent attempt to use this alias an error message appeared:

laf
bash:: laf: command not found

although the previous alias definition was accpeted without an error 
message.

What may be the reason, that the use of an alias, defined, had not been 
accepted?
What has to be done to resolve this problem?

Thomas Wiedmann 



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

