OpenBSD::Mtree man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

OpenBSD::Mtree(3p)     Perl Programmers Reference Guide	    OpenBSD::Mtree(3p)

NAME
       OpenBSD::Mtree - simple "mtree(8)" spec parser

SYNOPSIS
	   use OpenBSD::Mtree;

	   my %hier;

	   OpenBSD::Mtree::parse(\%hier, "/", "/etc/mtree/4.4BSD.dist");

DESCRIPTION
       "OpenBSD::Mtree" is a parser for mtree(8) specifications that can
       reconstruct directory hierarchies.

       The basic function "OpenBSD::Mtree::parse_fh(\%hash, $basedir, $fh)"
       will populate the hash $hash with defined entries for each directory
       seen while reading from $fh, assuming the specification is to be
       interpreted relative to $basedir (some canonicalization of directory
       names will occur).

       "OpenBSD::Mtree:parse(\%hash, $basedir, $filename)" is a convenience
       function which also handles opening the filehandle from $filename and
       closing it after reading the specification.

perl v5.12.2							 June 30, 2010
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net