Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current manual page.

GRASS logo

NAME

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

SYNOPSIS

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

Flags:

-h
Convert directory separators to native host format
-g
Convert directory separators to GRASS internal format
--verbose
Verbose module output
--quiet
Quiet module output

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-11-08 02:23:26 -0800 (Tue, 08 Nov 2011) $


Main index - general index - Full index

© 2003-2014 GRASS Development Team