You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe this is meant this way, but if the history-file has exactly max_file_size lines and another is pushed, the file is cleared completely and the newly pushed is its only entry.
The in memory-history works as expected (drops the oldest, but keeps the rest).
How to reproduce (quick and dirty):
$ touch test
$ forxin$(seq 1000);doecho$x>>test;done
$ cat test
Maybe this is meant this way, but if the history-file has exactly
max_file_size
lines and another is pushed, the file is cleared completely and the newly pushed is its only entry.The in memory-history works as expected (drops the oldest, but keeps the rest).
How to reproduce (quick and dirty):
This gives 1000 entries.
Compile and run:
and then
$ cat test
again. Result only "blabla" will be in the history-file.
The text was updated successfully, but these errors were encountered: