www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/20/02:10:17

Date: Sun, 20 Aug 2000 09:12:18 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: matt DOT l AT techie DOT com
Message-Id: <2593-Sun20Aug2000091218+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
CC: djgpp AT delorie DOT com
In-reply-to: <4.3.2.7.0.20000819154430.00b06be0@mail.subdimension.com>
(message from Matt Lewandowsky on Sat, 19 Aug 2000 15:49:40 -0700)
Subject: Re: DJGPP port of WHICH
References: <44An5.13355$Gs DOT 66133 AT news4 DOT atl> <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20000819154430 DOT 00b06be0 AT mail DOT subdimension DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Sat, 19 Aug 2000 15:49:40 -0700
> From: Matt Lewandowsky <matt DOT l AT techie DOT com>
> 
> Hmm... I just have the line:
> 
> alias which="type -p $@"
> 
> in my .profile...

"type" is a built-in Bash command, so it will only work inside Bash.

I understand that a port of `which' is intended to work from
COMMAND.COM as well.

> BTW, can anyone tell me how to get DJGPP's bash to source 
> my .profile at "login"?

Make a ``symlink'' or a copy called -bash.exe, and invoke that the
first time you start a session.  (This is clearly explained in the
Bash man page, btw.)

- Raw text -


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