标题:xxd, join, and fold 出处:Felix021 时间:Mon, 18 Dec 2023 18:04:57 +0000 作者:felix021 地址:https://www.felix021.com/blog/read.php?2247 内容: 1. Get character count in a line 引用 $ xxd packets | head -n 1 | wc -c 68 2. Join lines 引用 xxd packets | tr -d '\n' && echo Save the output to local file "packets.xxd". 3. Fold lines and decode 引用 fold packets.xxd -w 67 | xxd -r > packets Generated by Bo-blog 2.1.0