pw: wrote
An input file mock up script is as follows (tested/works):
#!/bin/bash
#mockup_input_files.sh
mkdir final
mkdir sunshine
for FNUM in `seq 1 26`;do
OFILE=`echo $FNUM| awk '{print "./final/test_file_" $1 ".final.txt"}'`;
echo
"HEADER|HEADER
Hello,
I altered the problematic script in my previous email
to use a list of input files from a file.
As predicted the script had an exception
after successfully processing one or two files.
I ran the script again, resuming on the file where
the processing stopped last. The following error
was
Hello,
I am running a bash script used for processing some text files.
The script works fine for a few files and then _cygtls will throw
and exception, there will be a segfault and a core gets dumped.
If I restart the bash script on the file where it last left off
the script will continue for a
3 matches
Mail list logo