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
Would be better to just start from 0 instead in that case:
printf '\x01\x02\x03' > tmp
Good:
bgrep -B2 03 tmp
output:
tmp: 00000002
\x01\x02
Bad:
bgrep -B3 03 tmp
output:
tmp: 00000002
lseek: Invalid argument
The text was updated successfully, but these errors were encountered:
cirosantilli
changed the title
-B fail with lseek: Invalid argument if it would start before the beginning of the file-B fails with lseek: Invalid argument if it would start before the beginning of the file
Oct 9, 2023
Would be better to just start from 0 instead in that case:
Good:
output:
Bad:
output:
The text was updated successfully, but these errors were encountered: