Page 1 of 1

sed syntax for conversion

Posted: Tue Aug 16, 2022 3:37 pm
by hudatolah

Code: Select all

grep -i SELECT *.ktr |sed 's/^.*select/SELECT/gI'
This will replace all characters from the start to the match on select with just SELECT.
This one I keep missing in my list on my home page.