diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-12 16:18:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-12 16:18:44 +0000 |
commit | 94f19211b60216837037b8d380677cf51cf3e3af (patch) | |
tree | a2392bd8e8cfbe6e33876eab6fc4272037cd4662 | |
parent | 02fde557f87c6b7aca90a1b78635195caf509a0c (diff) |
propagate --edit disabling to bindirs
git-svn-id: svn://tug.org/texlive/trunk@18914 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/bin/alpha-linux/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/amd64-freebsd/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/amd64-kfreebsd/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/i386-cygwin/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/i386-freebsd/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/i386-kfreebsd/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/i386-linux/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/i386-netbsd/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/i386-solaris/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/mips-irix/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/powerpc-aix/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/powerpc-linux/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/sparc-linux/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/sparc-solaris/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/universal-darwin/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/x86_64-darwin/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/x86_64-linux/fmtutil | 50 | ||||
-rwxr-xr-x | Master/bin/x86_64-solaris/fmtutil | 50 |
18 files changed, 468 insertions, 432 deletions
diff --git a/Master/bin/alpha-linux/fmtutil b/Master/bin/alpha-linux/fmtutil index a24df810123..2aa8c3a0643 100755 --- a/Master/bin/alpha-linux/fmtutil +++ b/Master/bin/alpha-linux/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 18642 2010-05-31 11:55:10Z mpg $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/amd64-freebsd/fmtutil b/Master/bin/amd64-freebsd/fmtutil index 2cb5743a463..2aa8c3a0643 100755 --- a/Master/bin/amd64-freebsd/fmtutil +++ b/Master/bin/amd64-freebsd/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 17423 2010-03-11 17:53:34Z karl $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/amd64-kfreebsd/fmtutil b/Master/bin/amd64-kfreebsd/fmtutil index a24df810123..2aa8c3a0643 100755 --- a/Master/bin/amd64-kfreebsd/fmtutil +++ b/Master/bin/amd64-kfreebsd/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 18642 2010-05-31 11:55:10Z mpg $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/i386-cygwin/fmtutil b/Master/bin/i386-cygwin/fmtutil index a24df810123..2aa8c3a0643 100755 --- a/Master/bin/i386-cygwin/fmtutil +++ b/Master/bin/i386-cygwin/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 18642 2010-05-31 11:55:10Z mpg $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/i386-freebsd/fmtutil b/Master/bin/i386-freebsd/fmtutil index 2cb5743a463..2aa8c3a0643 100755 --- a/Master/bin/i386-freebsd/fmtutil +++ b/Master/bin/i386-freebsd/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 17423 2010-03-11 17:53:34Z karl $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/i386-kfreebsd/fmtutil b/Master/bin/i386-kfreebsd/fmtutil index a24df810123..2aa8c3a0643 100755 --- a/Master/bin/i386-kfreebsd/fmtutil +++ b/Master/bin/i386-kfreebsd/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 18642 2010-05-31 11:55:10Z mpg $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/i386-linux/fmtutil b/Master/bin/i386-linux/fmtutil index a24df810123..2aa8c3a0643 100755 --- a/Master/bin/i386-linux/fmtutil +++ b/Master/bin/i386-linux/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 18642 2010-05-31 11:55:10Z mpg $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/i386-netbsd/fmtutil b/Master/bin/i386-netbsd/fmtutil index a24df810123..2aa8c3a0643 100755 --- a/Master/bin/i386-netbsd/fmtutil +++ b/Master/bin/i386-netbsd/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 18642 2010-05-31 11:55:10Z mpg $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/i386-solaris/fmtutil b/Master/bin/i386-solaris/fmtutil index a24df810123..2aa8c3a0643 100755 --- a/Master/bin/i386-solaris/fmtutil +++ b/Master/bin/i386-solaris/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 18642 2010-05-31 11:55:10Z mpg $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/mips-irix/fmtutil b/Master/bin/mips-irix/fmtutil index 2cb5743a463..2aa8c3a0643 100755 --- a/Master/bin/mips-irix/fmtutil +++ b/Master/bin/mips-irix/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 17423 2010-03-11 17:53:34Z karl $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/powerpc-aix/fmtutil b/Master/bin/powerpc-aix/fmtutil index a24df810123..2aa8c3a0643 100755 --- a/Master/bin/powerpc-aix/fmtutil +++ b/Master/bin/powerpc-aix/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 18642 2010-05-31 11:55:10Z mpg $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/powerpc-linux/fmtutil b/Master/bin/powerpc-linux/fmtutil index 2cb5743a463..2aa8c3a0643 100755 --- a/Master/bin/powerpc-linux/fmtutil +++ b/Master/bin/powerpc-linux/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 17423 2010-03-11 17:53:34Z karl $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/sparc-linux/fmtutil b/Master/bin/sparc-linux/fmtutil index 2cb5743a463..2aa8c3a0643 100755 --- a/Master/bin/sparc-linux/fmtutil +++ b/Master/bin/sparc-linux/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 17423 2010-03-11 17:53:34Z karl $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/sparc-solaris/fmtutil b/Master/bin/sparc-solaris/fmtutil index a24df810123..2aa8c3a0643 100755 --- a/Master/bin/sparc-solaris/fmtutil +++ b/Master/bin/sparc-solaris/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 18642 2010-05-31 11:55:10Z mpg $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/universal-darwin/fmtutil b/Master/bin/universal-darwin/fmtutil index 2cb5743a463..2aa8c3a0643 100755 --- a/Master/bin/universal-darwin/fmtutil +++ b/Master/bin/universal-darwin/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 17423 2010-03-11 17:53:34Z karl $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/x86_64-darwin/fmtutil b/Master/bin/x86_64-darwin/fmtutil index 2cb5743a463..2aa8c3a0643 100755 --- a/Master/bin/x86_64-darwin/fmtutil +++ b/Master/bin/x86_64-darwin/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 17423 2010-03-11 17:53:34Z karl $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/x86_64-linux/fmtutil b/Master/bin/x86_64-linux/fmtutil index 2cb5743a463..2aa8c3a0643 100755 --- a/Master/bin/x86_64-linux/fmtutil +++ b/Master/bin/x86_64-linux/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 17423 2010-03-11 17:53:34Z karl $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then diff --git a/Master/bin/x86_64-solaris/fmtutil b/Master/bin/x86_64-solaris/fmtutil index a24df810123..2aa8c3a0643 100755 --- a/Master/bin/x86_64-solaris/fmtutil +++ b/Master/bin/x86_64-solaris/fmtutil @@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=fmtutil argv0=$0 -version='$Id: fmtutil 18642 2010-05-31 11:55:10Z mpg $' +version='$Id: fmtutil 18913 2010-06-12 16:17:53Z karl $' cnf=fmtutil.cnf # name of the config file export PATH @@ -86,9 +86,9 @@ help() cat <<eof $version Usage: fmtutil [OPTION]... CMD [ARG]... -Usage: mktexfmt FMT.fmt|BASE.base|MEM.mem|FMTNAME +Usage: mktexfmt FORMAT.fmt|BASE.base|MEM.mem|FMTNAME.EXT -Rebuild and manage TeX formats (and Metafont bases and MetaPost mems). +Rebuild and manage TeX formats, Metafont bases and MetaPost mems. If the command name ends in mktexfmt, only one format can be created. The only options supported are --help and --version, and the command @@ -100,11 +100,11 @@ nothing else. If not operating in mktexfmt mode, the command line can be more general, and multiple formats can be generated, as follows. -Valid options for fmtutil: - --cnffile FILE +Optional behavior: + --cnffile FILE read FILE instead of fmtutil.cnf. --fmtdir DIRECTORY --no-engine-subdir don't use engine-specific subdir of the fmtdir - --quiet (not implemented, just for compatibility) + --quiet be silent --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) --force (not implemented, just for compatibility) @@ -122,13 +122,17 @@ Valid commands for fmtutil: filtered to available formats --catcfg output the content of the config file --showhyphen FORMATNAME print name of hyphenfile for format FORMATNAME - --edit edit config file + --edit no-op in TeX Live --version show version info --help show this message The config file is named fmtutil.cnf, and running kpsewhich fmtutil.cnf should show the active file. +For more information about fmt generation in TeX Live, try +tlmgr --help or see http://tug.org/texlive/doc/tlmgr.html. +The \`generate' action in tlmgr does the work. + Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> eof @@ -479,12 +483,12 @@ main() cmd=catcfg;; --listcfg) cmd=listcfg;; - --quiet|-q) + --quiet|-q|--silent) verboseFlag=false;; --test|--dolinks|--force) ;; "") break;; - *) abort "$progname: unknown option \`$1'. Try $progname --help for help";; + *) abort "unknown option \`$1'. Try $progname --help for help";; esac do test $# -gt 0 && shift; done @@ -513,26 +517,24 @@ main() fi fi - # showhyphen and edit do not need any temp. directory, so do it here: + # these commands need no temp directory, so do them here: case "$cmd" in - showhyphen) - show_hyphen_file "$arg" - cleanup $? - ;; - edit) - ${VISUAL-${EDITOR-vi}} $cnf_file - ;; - enablefmt|disablefmt) - $cmd $arg - ;; catcfg) grep -v '^ *#' "$cnf_file" | sed 's@^ *@@; s@ *$@@' | grep . | sort - cleanup $? - ;; + cleanup $? ;; + edit) + echo "$0: fmtutil --edit is disabled in TeX Live;" >&2 + echo "$0: use a file fmtutil-local.cnf instead." >&2 + echo "$0: See tlmgr --help or http://tug.org/texlive/doc/tlmgr.html." >&2 + cleanup 0 ;; + enablefmt|disablefmt) + $cmd $arg ;; # does not return listcfg) listcfg_loop - cleanup $? - ;; + cleanup $? ;; + showhyphen) + show_hyphen_file "$arg" + cleanup $? ;; esac if test -n "$cfgmaint"; then |