delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/17/03:22:32

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: "Thomas Wiedmann" <th DOT wm AT gmx DOT 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
X-IsSubscribed: yes
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

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

- Raw text -


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