delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/07/15/01:00:37

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "pjfarley3" <pjfarley3 AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Can ":" be used as a PATH separator?
Date: 14 Jul 2005 21:50:42 -0700
Organization: http://groups.google.com
Lines: 19
Message-ID: <1121403042.238303.255630@g43g2000cwa.googlegroups.com>
NNTP-Posting-Host: 24.215.207.141
Mime-Version: 1.0
X-Trace: posting.google.com 1121403047 23001 127.0.0.1 (15 Jul 2005 04:50:47 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Fri, 15 Jul 2005 04:50:47 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse AT google DOT com
Injection-Info: g43g2000cwa.googlegroups.com; posting-host=24.215.207.141;
posting-account=8j3MmQwAAAAB3MfQxahpC54dm-Irfpks
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

For a "normal" application bash script (not configure/make/etc., so no
config.site is used) that wants to add a directory to the PATH
variable, does DJGPP always require ";", or can ":" be substituted,
assuming that all "C:", "D:", etc. in the PATH variable have been
converted to "/dev/C", "/dev/D", etc. first, of course?

I tried that using bash-2.04 from the current release area on
ftp.delorie.com, but it did not work.

"type -a cat" from inside bash said it could not find anything when I
converted the PATH to use ":" in place of ";", and my bash application
script couldn't find it either.

Does the beta bash-2.05 handle this better?

TIA for any info/advice/RTFM you can provide.

Peter

- Raw text -


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