I would like to find lines that do not end with 'rpms' with sed in Linux. I have tried below:sed -ne '/?!(rpms$)/p'But unfortunately, it is not correct.
find lines that don't end with 'rpms' with sed
sed;regular expression