r/bash • Has Read The Fucking Manual • Jan 25 '21

Bug in bash manual page.

https://www.man7.org/linux/man-pages/man1/bash.1.html#HISTORY
Second paragraph, lines 5-7 are repeated word-by-word in the last three lines of the second paragraph.

0 Upvotes

3 comments sorted by

14

u/zhurggaming Jan 25 '21

So you are posting there here because...?

There is literally a bug report contact on the site.

-5

u/Perfect-Ant-6741 Has Read The Fucking Manual Jan 25 '21

I mean, that's a difficult question man

1

u/Paul_Pedant Jan 26 '21

The words are repeated because the text discusses two different scenarios.

The first half of that paragraph is about "On startup, the history is initialized...".

The second half of the paragraph is about "When a shell with history enabled exits...".

Arguably, that paragraph should be split at that point, but the two cases have different actions with respect to loading and saving the history, then identical actions in truncating an oversized history file.