The result is the following: ---------- /tmp/ml.sh: line 3: kpsexpand: command not found /tmp/ml.sh: line 10: kpsewhich: command not found Warning: texmf.cnf cannot be found with kpsewhich! /tmp/ml.sh: line 10: kpsewhich: command not found Warning: fmtutil.cnf cannot be found with kpsewhich! /tmp/ml.sh: line 10: kpsewhich: command not found Warning: updmap.cfg cannot be found with kpsewhich! /tmp/ml.sh: line 19: kpsewhich: command not found Warning: language.dat cannot be found with kpsewhich! Files in /etc/texmf/web2c/ total 4 -rw-r--r-- 1 root root 283 2007-06-20 17:33 mktex.cnf md5sums of texmf.d 25bf3a257a0bedb5c67349c3eaff74af /etc/texmf/texmf.d/05TeXMF.cnf 5f7f6652cc8b8071c9e4ea6ba9e9f0a1 /etc/texmf/texmf.d/15Plain.cnf 8a26468004b5ebc7ae9884740356c1d0 /etc/texmf/texmf.d/45TeXinputs.cnf ea33127256c6a9f37145ae5b16fdb80c /etc/texmf/texmf.d/55Fonts.cnf afccf1d3f87057411166a77c58e00bd1 /etc/texmf/texmf.d/65BibTeX.cnf 9da7c1c7b1eaf06f941af91f48a23068 /etc/texmf/texmf.d/75DviPS.cnf e36faa13563bdb46303b91ab3f6ea638 /etc/texmf/texmf.d/85Misc.cnf 7e8f87acdeba48edac16d851c77b9e75 /etc/texmf/texmf.d/90TeXDoc.cnf 30f4f13357c2761ed01a6a15f28725a5 /etc/texmf/texmf.d/95NonPath.cnf Home dir ls: /root/.texmf-var: file not found ls: /root/.texmf-config: file not found ------------
Thank you. .Yves. Le Tuesday 20 November 2007 10:26:23, vous avez écrit : > for dir in $(kpsexpand '$TEXMF' | sed -e 's/,/ /g;s/[!{}]//g;'); do > ls_R_files="$ls_R_files $(ls $dir/ls-R 2>/dev/null)"; > done > ls_R_files="$ls_R_files $(ls /usr/share/texmf-texlive/ls-R 2>/dev/null)" > for file in $ls_R_files; do > ls -l $file > done > > for i in texmf.cnf fmtutil.cnf updmap.cfg ; do > f=$(kpsewhich --format='web2c files' $i) > if [ -z "$f" ] ; then > echo "Warning: $i cannot be found with kpsewhich!" > else > ls -l $f > fi > done > > for i in language.dat ; do > f=$(kpsewhich -progname=latex $i) > if [ -z "$f" ] ; then > echo "Warning: $i cannot be found with kpsewhich!" > else > ls -l $f > fi > done > > > echo " Files in /etc/texmf/web2c/" > ls -l /etc/texmf/web2c/ > > echo " md5sums of texmf.d" > md5sum /etc/texmf/texmf.d/* > > > echo "Home dir" > ls -lR /root/.texmf-var /root/.texmf-config