Inserts a line into a file after a line matching a regular expression. String comparisons are case-insensitive. Works on very large files because it reads the file line by line instead of reading the entire file into memory. Can be used on the command line or in a Ruby program.

Required Ruby Version

>= 2.6.0

Authors

Mike Slinn

Versions

  1. 0.3.0
    1. source

      1. 0.3.0 source November 10, 2023 (7 KB)
  2. 0.2.0
    1. source

      1. 0.2.0 source November 10, 2023 (7 KB)
  3. 0.1.0
    1. source

      1. 0.1.0 source November 10, 2023 (7 KB)

Pushed by

SHA 256 checksum