summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-03-16 23:09:50 +0000
committerKarl Berry <karl@freefriends.org>2012-03-16 23:09:50 +0000
commite27d7d6de12aaf0b37cf624941e5c62e65f116cc (patch)
tree2e995ddeb5e22176bfeb78904b09ab1705b4e73c /Master
parent7a512ee19c4e94fe3c8653353e33109b1fadaecf (diff)
typeoutfileinfo (16mar12)
git-svn-id: svn://tug.org/texlive/trunk@25667 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/support/typeoutfileinfo/README10
-rwxr-xr-xMaster/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh28
2 files changed, 26 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/support/typeoutfileinfo/README b/Master/texmf-dist/doc/support/typeoutfileinfo/README
index 4af4ee895d9..8e30dd97a8a 100644
--- a/Master/texmf-dist/doc/support/typeoutfileinfo/README
+++ b/Master/texmf-dist/doc/support/typeoutfileinfo/README
@@ -1,14 +1,14 @@
README for the `typeoutfileinfo' package
- (C) Uwe Lueck 2012/03/13
+ (C) Uwe Lueck 2012/03/16
-`typeoutfileinfo.sh' is a minimalistic shell script for Unices
-for displaying the info content in the \ProvidesFile,
+`typeoutfileinfo.sh' is a minimalist shell script for Unix-like
+systems, displaying the info content in the \ProvidesFile,
\ProvidesPackage, or \ProvidesClass command of a LaTeX source
file on screen. This requires the `readprov' package.
See the file `typeoutfileinfo.sh' for details.
-LICENSE: LPPL v1.3 or later, author-maintained.
+LICENSE: LPPL v1.3c or later, author-maintained.
The latest public version of the package is available at
@@ -22,4 +22,4 @@ Please report bugs, problems, and suggestions via
http://www.contact-ednotes.sty.de.vu
-SEE ALSO scripts `latexfileversion' and `ltxfileinfo'.
+SEE ALSO script packages `latexfileversion' and `ltxfileinfo'.
diff --git a/Master/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh b/Master/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh
index e40765ac088..70a6653cb2a 100755
--- a/Master/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh
+++ b/Master/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh
@@ -1,15 +1,15 @@
%!/usr/bin/env bash
##
-## This is `typeoutfileinfo.sh', a minimalistic shell script for Unices.
+## This is `typeoutfileinfo.sh', a minimalist shell script for Unices.
##
## ./typeoutfileinfo.sh [FILENAME].[EXT]
##
-## runs latex with the readprov package
+## runs latex with the readprov package:
##
## http://ctan.org/pkg/readprov
##
-## in order to display [FILENAME].[TXT]'s file info (\listfile entry)
-## using \typeout. This requires that [FILENAME].[TXT] contains a
+## in order to display [FILENAME].[TXT]'s FILE INFO (\listfile entry)
+## using \typeout. This requires that [FILENAME].[EXT] contains a
## \ProvidesFile, \ProvidesPackage, or \ProvidesClass command.
(
cat << EOM
@@ -21,13 +21,27 @@ EOM
## Copyright (C) 2012 Uwe Lueck, http://contact-ednotes.sty.de.vu/
##
## This program may be distributed and/or modified under the
-## conditions of the LaTeX Project Public License, either version 1.2
+## conditions of the LaTeX Project Public License, either version 1.3c
## of this license or (at your option) any later version.
## The latest version of this license is in
## http://www.latex-project.org/lppl.txt
-## and version 1.2 or later is part of all distributions of LaTeX
+## and version 1.3c or later is part of all distributions of LaTeX
## version 1999/12/01 or later.
##
## There is NO WARRANTY.
##
-## v0.1 as of 2012-03-13
+## This is package version v0.1a as of 2012-03-16.
+##
+## CREDIT: this work derived from Harald Harders' `latexfileversion'
+## as a simplification using my `readprov'. I learnt "here document"
+## from `latexfileversion' -- UL.
+##
+## PURPOSE/BACKGROUND: A package like this, `latexfileversion' or
+## `ltxfileinfo' when you wonder which version of a source file
+## (package, document component) is available in some directory --
+## I typically test package changes by symbolic links in single
+## project directories before installing them globally, and then
+## sometimes don't remember ... when I get an "undefined" error,
+## I wonder whether I have installed the symbolic link or whether
+## I just forgot to define this, or whether I lost the most recent
+## version ...