jwr / ccheck Goto Github PK
View Code? Open in Web Editor NEWSimple, easy to use, minimal consistency checker (hasher) for file archives.
License: MIT License
Simple, easy to use, minimal consistency checker (hasher) for file archives.
License: MIT License
Linux allows any byte in filenames besides null and /
If this should be reliable, it needs to handle them.
Especially line breaks are very confusing.
$ echo x > $'ccheck/a\nb'
$ ccheck --nosign ccheck/ ccheck.cc2
Computing checksums for all files...
New file: ccheck/a
b
$ ccheck --nosign ccheck/ ccheck.cc2
Computing checksums for all files...
WARNING: missing file: b 73cb3858a687a8494ca3323053016282f3dad39d42cf62ca4e79dda2aac7d9ac
Use of uninitialized value $db_checksums{""} in concatenation (.) or string at ./ccheck/ccheck.pl line 132.
WARNING: missing file:
New file: ccheck/a
b
...
Here are some more files that break all things everywhere, including invalid utf-8 names: https://github.com/benibela/nasty-files
Can't use an undefined value as a symbol reference at /tmp/ccheck/ccheck.pl line 170.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.