diff --git a/Userland/Utilities/sed.cpp b/Userland/Utilities/sed.cpp index c4811391611..d25dd969a7f 100644 --- a/Userland/Utilities/sed.cpp +++ b/Userland/Utilities/sed.cpp @@ -90,6 +90,8 @@ static ErrorOr parse_command(StringView command) } else if (flag == "g"sv) { // Allow multiple matches per line by un-setting the SingleMatch flag options &= ~PosixFlags::SingleMatch; + } else if (flag == "i"sv || flag == "I"sv) { + options |= PosixFlags::Insensitive; } else { warnln("sed: Unsupported flag: {}", flag); }