g.dirseps.1grass man page

g.dirseps — Internal GRASS utility for converting directory separator characters.
Converts any directory separator characters in the input string to or from native host format, and writes the changed path to standard output. Useful in scripts for Windows compatibility.

Keywords

general, map management, scripts

Synopsis

g.dirseps
g.dirseps --help
g.dirseps [-hg] [path=string] [--help] [--verbose] [--quiet] [--ui]

Flags

-h
Convert directory separators to native host format
-g
Convert directory separators to GRASS internal format
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters

path=string
Path to be converted (read from stdin if not specified)

Description

g.dirseps is an internal tool only. It copies input string to stdout, changing directory separator characters as specified by flags. It is used for interoperability between Unix and MS-Windows pathnames.

Author

Paul Kelly

Last changed: $Date: 2011-09-29 12:18:47 -0700 (Thu, 29 Sep 2011) $

Main index | General index | Topics index | Keywords index | Full index

© 2003-2016 GRASS Development Team, GRASS GIS 7.0.4 Reference Manual

Info

GRASS 7.0.4 Grass User's Manual