diff --git a/pgcollate b/pgcollate index 1c59bfb..374cfdb 100755 --- a/pgcollate +++ b/pgcollate @@ -29,4 +29,10 @@ for s in ( db.commit() csr.execute("select * from t_pgcollate order by t") for r in csr: - print(r) + for c in r[0]: + print(f"{ord(c):02x} ", end="") + print("- ", end="") + for c in r[0]: + print(c, end="") + print("") +