mirror of
https://github.com/GiriNeko/CheckChrome.git
synced 2025-12-17 13:47:21 +00:00
feat: clean the parse result by build.sh
This commit is contained in:
parent
10f61bba46
commit
8aa0d264cb
4 changed files with 16 additions and 3 deletions
10
build.sh
Normal file
10
build.sh
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
sed -i 's| ELEMENT=manifest ATTRIBUTE=version VALUE=||g' tmp/chrome_xml_parser_result.txt
|
||||
sed -i 's| ELEMENT=url ATTRIBUTE=codebase VALUE=||g' tmp/chrome_xml_parser_result.txt
|
||||
sed -i 's| ATTRIBUTE=hash |\n|g' tmp/chrome_xml_parser_result.txt
|
||||
sed -i 's| ATTRIBUTE=name VALUE=|\n|g' tmp/chrome_xml_parser_result.txt
|
||||
sed -i 's| ATTRIBUTE=required VALUE=true ATTRIBUTE=size VALUE=|\n|g' tmp/chrome_xml_parser_result.txt
|
||||
sed -i 's| ATTRIBUTE=hash_sha256 VALUE=|\n|g' tmp/chrome_xml_parser_result.txt
|
||||
sed -i 's| ELEMENT=time ATTRIBUTE=checktime VALUE=||g' tmp/chrome_xml_parser_result.txt
|
||||
sed -i 's| ||g' tmp/chrome_xml_parser_result.txt
|
||||
|
||||
checktime=$(sed -n '3p' ./tmp/chrome_xml_parser_result.txt)
|
||||
Loading…
Add table
Add a link
Reference in a new issue