Print first part (up to embedded newline) of multiline pattern space created by
command. Same as
has not been applied to a line.
Suppose you have function references in two formats:
The following script changes argument
, regardless of whether it appears on the same line as the function name:
s/function(arg1, arg2)/function(arg1, XX)/