[texhax] Redirection towards «xdvi.log».
Yves Perret
yves.perret at megamail.org
Mon Mar 2 23:30:13 CET 2015
Hello Misters Hammond and Lueck,
I tried the last proposal of Uwe Lueck, but even after adaptation of
the latter to the «tcsh» shell, the file «xdvi.log» which is generate,
is still empty, like shows it the following instructions' lines:
> cd ~/ScientificVisual/Diagrammes\ en\ bâtonnets\ colorés/
> xdvi algorigramme_des_étapes_d\'interprétation.dvi 2>&1 | tee
xdvi.log
Redirection de sortie ambigue.
> xdvi algorigramme_des_étapes_d\'interprétation.dvi 2> &1 | tee
xdvi.log
Redirection de sortie ambigue.
> xdvi algorigramme_des_étapes_d\'interprétation.dvi 2>&1 | xdvi.log
Redirection de sortie ambigue.
> echo $SHELL
/usr/bin/tcsh
> xdvi algorigramme_des_étapes_d\'interprétation.dvi | & tee xdvi.log
> ls -l xdvi.log
-rw-r--r-- 1 yperret users 0 mars 2 23:52 xdvi.log
>
Tomorrow, I shall try the suggestion of Mister Lueck.
Yves Perret
le Mon, 02 Mar 2015 10:31:58 -0800
William F Hammond <hmwlfsr at yahoo.com> a écrit:
> Yves Perret <yves.perret at megamail.org> writes:
>
> > ...
> > We notice that the «xdvi.log» file was not found beforehand and
> that
> > after
> > its creation, the latter is empty !.
> > ...
> >> It might be helpful to provide that completely, e.g.,
> >>
> >> xdvi ... | tee xdvi.log
> >>
> >> where the dots represent the .dvi name, and copy the content of
> >> xdvi.log into the next posting.
>
> So perhaps the error messages were sent to the 'standard error
> stream'.
> If that is a case, then in a Bourne-style shell, the command
>
> xdvi ... 2>&1 | tee xdvi.log
>
> should capture the messages.
>
> -- Bill
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2015.03.02_capture_2.tiff
Type: image/tiff
Size: 77242 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20150303/e67cd350/attachment-0001.tiff>
More information about the texhax
mailing list