hsiehsh168168 / warc-tools

Automatically exported from code.google.com/p/warc-tools
0 stars 0 forks source link

arc2warc.sh does not work with non-compressed arc-files #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run arc2warc.sh on a directory of non-compressed arc-files (ending with
.arc)

What is the expected output? What do you see instead?
The script sould convert all arc-files to warc-files
I get an error - the script calculates the wrong warc-file name - the
script seems only to work with compressed arc-files

What version of the product are you using? On what operating system?
./arc2warc.sh v0.17
RHEL 4.0 linux

Please provide any additional information below.

Original issue reported on code.google.com by bjarne.a...@gmail.com on 7 Mar 2008 at 8:00

GoogleCodeExporter commented 8 years ago
must be the line:
wf=`echo "$i" | sed -e "s|arc\(\.[^.]*\)$|warc\1|"`

doing something wrong with files ending with '.arc'

Original comment by bjarne.a...@gmail.com on 7 Mar 2008 at 10:26

GoogleCodeExporter commented 8 years ago
Fixed. Should work correctly now with ARC files ending with ".arc" or ".arc.gz"

Original comment by voidptr...@gmail.com on 10 Mar 2008 at 9:32

GoogleCodeExporter commented 8 years ago

Original comment by gordon.p...@gmail.com on 29 Apr 2008 at 3:11

GoogleCodeExporter commented 8 years ago
Please ignore these changes -- just testing whether Google code lets you claim 
and
reassign issues you did not create yourself.

Original comment by gordon.p...@gmail.com on 29 Apr 2008 at 3:12