Select Git revision
-
Rob Swindell authored
The details (dates, author, revision numbers) are often stale and misleading, so start removing them. Where the Revision tag was used for a version/revision, just bump it by one and use a string constant instead (Git doesn't provide any similar facility for auto-incrementing revision numbers). More remains. Perhaps a commit hook to alert me when committing that I should clean up as I go rather than try to do this in bulk. <shrug>
Rob Swindell authoredThe details (dates, author, revision numbers) are often stale and misleading, so start removing them. Where the Revision tag was used for a version/revision, just bump it by one and use a string constant instead (Git doesn't provide any similar facility for auto-incrementing revision numbers). More remains. Perhaps a commit hook to alert me when committing that I should clean up as I go rather than try to do this in bulk. <shrug>
hexdump.js 319 B
var hexdump = load({}, "hexdump_lib.js");
function main()
{
var i;
for(i=0; i < argv.length; i++) {
var file = new File(argv[i]);
if(!file.open("rb"))
alert(file.name + " open error " + file.error);
else {
var output = hexdump.file(file);
print(output.join('\n'));
file.close();
}
}
}
main();