sed syntax for conversion

Post Reply
hudatolah
Site Admin
Posts: 143
Joined: Thu Apr 04, 2013 8:10 pm
Are You a Headhunter?: Affirmative
Surfer?: Yes

sed syntax for conversion

Post by hudatolah » Tue Aug 16, 2022 3:37 pm

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.
The Blackholesurfer. My surfboard has teeth.

Post Reply