mtnopt man page on Fedora

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

MTNOPT(1)			   monotone			     MTNOPT(1)

NAME
       mtnopt - generate shell variables from monotone workspace options

SYNOPSIS
       mtnopt [-s|-c|-v] [-d dir] [-k keys]
       mtnopt -h

DESCRIPTION
       mtnopt  prints shell variable assignments for each value in the file of
       monotone workspace options, _MTN/options, in the current directory. For
       instance, if _MTN/options contained this text:

	      database "/home/user/src/monotone.mtn"
		branch "net.venge.monotone"
		keydir "/home/user/.monotone/keys"

       mtnopt would print:

	      MTN_database="/home/user/src/monotone.mtn";
	      MTN_branch="net.venge.monotone";
	      MTN_keydir="/home/user/.monotone/keys";

       By  default, mtnopt attempts to guess appropriate syntax from the value
       of the SHELL environment variable.  This can be overridden with the  -s
       and -c command‐line options.

OPTIONS
       -s     Print variable assignments in sh(1) syntax.

       -c     Print variable assignments in csh(1) syntax.

       -v     Print  only  the values, with no indication of the corresponding
	      option keys.

       -d directory
	      Look for _MTN/options in directory, rather than in  the  current
	      directory.

       -k keys
	      Print assignments for only those options that match the egrep(1)
	      regular expression keys.

       -h     Print a help message and exit.

BUGS
       mtnopt only looks in the current directory for the _MTN	directory,  so
       it will fail in a subdirectory of a workspace.

       mtnopt  should  be  aware  of  the set of possible options, rather than
       blindly printing whatever is in _MTN/options.

       The behavior when there is no _MTN/options file to  be  found  is  less
       than helpful.

SEE ALSO
       mtn(1), egrep(1), sh(1), csh(1)

monotone			  2011-02-22			     MTNOPT(1)
[top]

List of man pages available for Fedora

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