S
solaristar
So i have a file with a line
foo_bar_baz (some amount of whitespace) 100 (a number)
I basically want to have a search regex that searches foo_bar_baz(and
then to the end of the line regardless of what text)
and replace it with foo_bar_baz \t (tab) 101 (some dif number
---
my command is as such but isnt working
perl -i -pe 's/minutes_between_backups$/minutes_between_backups
\t1020/' /etc/myconffile*.conf
I thought $ matched to the end of the line?
foo_bar_baz (some amount of whitespace) 100 (a number)
I basically want to have a search regex that searches foo_bar_baz(and
then to the end of the line regardless of what text)
and replace it with foo_bar_baz \t (tab) 101 (some dif number
---
my command is as such but isnt working
perl -i -pe 's/minutes_between_backups$/minutes_between_backups
\t1020/' /etc/myconffile*.conf
I thought $ matched to the end of the line?