summaryrefslogtreecommitdiff
path: root/Build/source
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 /Build/source
parent7a512ee19c4e94fe3c8653353e33109b1fadaecf (diff)
typeoutfileinfo (16mar12)
git-svn-id: svn://tug.org/texlive/trunk@25667 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/typeoutfileinfo/typeoutfileinfo.sh28
1 files changed, 21 insertions, 7 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/typeoutfileinfo/typeoutfileinfo.sh b/Build/source/texk/texlive/linked_scripts/typeoutfileinfo/typeoutfileinfo.sh
index e40765ac088..70a6653cb2a 100755
--- a/Build/source/texk/texlive/linked_scripts/typeoutfileinfo/typeoutfileinfo.sh
+++ b/Build/source/texk/texlive/linked_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 ...