X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Can ":" be used as a PATH separator? Date: 15 Jul 2005 12:40:31 GMT Lines: 19 Message-ID: <3jpp5vFr9nf0U1@news.dfncis.de> References: <1121403042 DOT 238303 DOT 255630 AT g43g2000cwa DOT googlegroups DOT com> X-Trace: news.dfncis.de /q1e1/0foBf1I4o2HQsvSg5fwdMl6mVEBxUyrPOtQzabk+ZxA+HG8hbWO2 X-Orig-Path: not-for-mail To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com pjfarley3 wrote: > 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? You have to be careful referring to things here. There are at least two distinct PATH variables you might be talking about: one is the PATH originally set in autoexec.bat (or similar), and used by the DOS command interpreter(s), the other is the PATH set up inside bash for the duration of the session. The latter can use either ';' or ':' for separators --- that's entirely your choice. Please do consult djgpp/gnu/bash*/README.DOS. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.