1. 39
  1.  

  2. 16

    Locate the offset at 3M lines, then use fallocat to punch hole at that offset.

    1. 3

      Specifically with --collapse-range, which I wasn’t aware of until now. It’ll drop data and and renumber the blocks for you; neat.

    2. 11

      The 1<>; operator is …

      That’s just about the craziest operator I’ve ever seen.

      1. 3

        Surprisingly simple to do

        1. 1

          ed(1) is the way to do it, I think. It won’t be the fastest, but it is doable.

          1. 1

            Would ed be able to work within remaining memory here?