#!/usr/bin/env nickle
# Copyright © 2005-2009 Bart Massey
# ALL RIGHTS RESERVED
# [This program is licensed under the "3-clause ('new') BSD License"]
# Please see the file COPYING in the source
# distribution of this software for license terms.

# hex-dump a shingleprint file

import File;

while(!end(stdin)) {
    int ch1 = getbyte();
    int ch2 = getbyte();
    int ch3 = getbyte();
    int ch4 = getbyte();
    printf("%02x%02x%02x%02x\n", ch1, ch2, ch3, ch4);
}
