Use hd consistently, not xxd, in docs

This commit is contained in:
Nigel Tao committed 2022-04-30 13:20:08 +10:00
1 parent 7eaf488bae
commit e9cb3c8b34
3 files changed
+32 -26

No files matched your search

+3 -2
View File
@@ -143,8 +143,9 @@ The final line says that the CRC-32 checksum of "Hi\n" is `0xD522_3C9A`. This
can be verified by running the `/usr/bin/crc32` program:
```
$ echo Hi | xxd /dev/stdin
00000000: 4869 0a Hi.
$ echo Hi | hd /dev/stdin
00000000 48 69 0a |Hi.|
00000003
$ echo Hi | crc32 /dev/stdin
d5223c9a
```