We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I'm capturing the contents of stdin using (.*) regexp which can be referenced using \1 where \1 refers to 1st captured group and then prepending the text with "Welcome". The syntax is s/[text]/[replacement]/
A Personalized Echo
You are viewing a single comment's thread. Return to all comments →
I'm capturing the contents of stdin using
(.*)
regexp which can be referenced using\1
where\1
refers to 1st captured group and then prepending the text with"Welcome"
.The syntax is
s/[text]/[replacement]/