Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 1998 08:21:35 -0800 (PST)
From:      David Wolfskill <dhw@whistle.com>
To:        dorey_s@infonie.fr
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Need to clear a point on aliases
Message-ID:  <199811171621.IAA28963@pau-amma.whistle.com>
In-Reply-To: <199811171104.MAA02480@infmail.infonie.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
>From: dorey_s@infonie.fr
>Date: Tue, 17 Nov 1998 11:57:19 +0100

>> lm	/bin/ls \| more

>I merely understand what does it do, but why you put a '\' before the '|'.
>I know that when you put a \ in front of a caracter it says take it as a
>caracter even if it is a special caracter. In this case why do you need to
>say that it has to be taken as caracter.

The purpose, in this case, is to defer interpretation of the character
that is used to specify a pipeline until the alias ("lm", in this case)
is used, rather than at the time it is defined.

david
-- 
David Wolfskill		UNIX System Administrator
dhw@whistle.com		voice: (650) 577-7158	pager: (650) 371-4621

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811171621.IAA28963>