Skip to content

Conversation

@giner
Copy link

@giner giner commented Dec 15, 2025

Before 2022-01-14 xxd was adding new lines for every 30 columns with -ps -c 0 flags. See vim/vim@c0a1d37

Before 2022-01-14:

echo test{1..10} | xxd -ps -c0
746573743120746573743220746573743320746573743420746573743520
746573743620746573743720746573743820746573743920746573743130
0a

Starting from 2022-01-14 and with the fix:

echo test{1..10} | xxd -ps -c0
7465737431207465737432207465737433207465737434207465737435207465737436207465737437207465737438207465737439207465737431300a

@giner giner force-pushed the giner/fix_for_old_xxd branch 2 times, most recently from 5e06dc3 to a5090c5 Compare December 15, 2025 08:20
Before 2022-01-14 xxd was adding new lines for every 30 columns with
`-ps -c 0` flags. See
vim/vim@c0a1d37

Before 2022-01-14:
```
echo test{1..10} | xxd -ps -c0
746573743120746573743220746573743320746573743420746573743520
746573743620746573743720746573743820746573743920746573743130
0a
```

Starting from 2022-01-14 and with the fix:
```
echo test{1..10} | xxd -ps -c0
7465737431207465737432207465737433207465737434207465737435207465737436207465737437207465737438207465737439207465737431300a
```

Signed-off-by: Stanislav German-Evtushenko <ginermail@gmail.com>
@giner giner force-pushed the giner/fix_for_old_xxd branch from a5090c5 to 7c9552a Compare December 15, 2025 08:21
@adrien-piquerez-da adrien-piquerez-da requested a review from a team January 5, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant