У меня есть три строки, которые я ищу в файле. Чтобы найти строки с любой из них, я использую grep ‘string1\|string2\|string3’ file Я хочу распечатать только совпадающие строки…

IT Шеф
We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept
Privacy Policy