Jul
4
awarded Notable Question
Oct
24
awarded Popular Question
Apr
9
awarded Student
Apr
9
awarded Scholar
Apr
9
accepted Substituting the first occurrence of a pattern in a line, for all the lines in a file with sed
Apr
9
comment Substituting the first occurrence of a pattern in a line, for all the lines in a file with sed
Thanks! I thought it was necessary to explicitly declare the line actions when working on a file, read about it and just kept on using them. I really was over-thinking it, that couldn't be simpler and it does the trick :)
Apr
9
awarded Editor
Apr
9
revised Substituting the first occurrence of a pattern in a line, for all the lines in a file with sed
added 2 characters in body
Apr
9
asked Substituting the first occurrence of a pattern in a line, for all the lines in a file with sed