News for hackers. Stuff that matters.
Re:Undeleting a file overwritten with mv by xphx on Tuesday December 01, 2020 @07:34AM (#25264606)
That would invalidate the byte offset. The intention here isn't so much printing the data as its location on disk.
Re:Undeleting a file overwritten with mv by vram22 on Tuesday December 01, 2020 @05:25PM (#25270853)
Oh yes, of course. My mistake. I did look up all the grep options used, including --byte-offset, before commenting, but somehow your point did not occur to me. Yes, the byte offsets would be meaningless after the data was piped through strings.