Prev: Want to write a script to note specific IP addresses.
Next: get current timestamp in microseconds or milliseconds
From: Sivaram Neelakantan on 26 Oct 2009 13:06 Bill Marcum <marcumbill(a)bellsouth.net> writes: > On 2009-10-25, Sivaram Neelakantan <nsivaram.net(a)gmail.com> wrote: >> cd $OUTDIR/$amc >> pdflatex ${amc}_${fund_id}.tex > /dev/null 2>&1 & > ( pdflatex ${amc}_${fund_id}.tex > /dev/null 2>&1 > echo ${amc}_${fund_id}.tex $? >> $logfile ) & > Thank you, that worked. And I seem to have another problem, which I think I solved though I'm none the wiser about it. main $1 wait sleep 9 #delete all the unwanted files find $OUTDIR/ -maxdepth 2 \( \( -name '*.aux' \) \ -o \( -name '*.snm' \) \ -o \( -name '*.out' \) \ -o \( -name '*.log' \) \ -o \( -name '*.toc' \) \ -o \( -name '*_frames.tex' \) \ -o \( -name '*.nav' \) \ \) -print -exec rm -f {} \; > /tmp/.cleanup 2>&1 I had to insert that sleep and tinker with the time to make sure the last pdflatex run files are deleted. Sometimes it is just one or it's the last three .tex files output. This is all on a laptop with just 1 processor and cygwin installed. What's happening? sivaram --
First
|
Prev
|
Pages: 1 2 3 4 5 6 Prev: Want to write a script to note specific IP addresses. Next: get current timestamp in microseconds or milliseconds |