[GRASS-dev] Windows-style Pathnames

Paul Kelly paul-grass at stjohnspoint.co.uk
Tue Nov 7 15:31:52 EST 2006


On Thu, 2 Nov 2006, Huidae Cho wrote:

>>> comes to shell scripting because scripts have to deal with two types of
>>> path styles in some cases.  For example, it would be complicated to
>>> implement "which" using $FOO if the script reads in a config file
>>> directly.  For this reason, I prefer UNIX-style pathnames even if host
>>> syntax looks more reasonable.
>>
>> Not sure what you mean about implementing "which" using $FOO?
>
> See #5 in SUBMITTING_SCRIPTS.  What I mean is if we accept Windows-style
> path names, scripts should deal with both POSIX (/) and Windows (:, \)
> path names in some (maybe few?) cases.

OK yes. I think we maybe need to revise/remove that point from 
SUBMITTING_SCRIPTS. There was some discussion recently that came to the 
conclusion that it was OK to use "which", but I can't find it now in a 
quick search of the list.




More information about the grass-dev mailing list