]> git.ipfire.org Git - thirdparty/grub.git/commit
docs: A note to cat that hexdump should be used for binary data
authorGlenn Washburn <development@efficientek.com>
Wed, 26 Jul 2023 18:50:12 +0000 (13:50 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 14 Aug 2023 15:55:01 +0000 (17:55 +0200)
commit711e034235987f5642ee00841f7c620d2979210f
treee88fe266da1daf2e85c9cfd9c41707bcdfcd1eda
parent7ff4f3c9632fa635d21a7afdd38b4bcfbfae2c99
docs: A note to cat that hexdump should be used for binary data

The cat command should not be used to print binary data because it can
show bytes not in the binary data and not show bytes that are in the data,
which can lead to confusion. This happens because cat does some processing
of the data stream, namely trying to decode substrings as UTF-8.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
docs/grub.texi