P[address1 [,
address2
]]P
Print first part (up to embedded newline) of multiline pattern space created by ExampleSuppose you have function references in two formats: function(arg1, arg2) function(arg1, arg2) The following script changes argument s/function(arg1, arg2)/function(arg1, XX)/ /function(/{ N s/arg2/XX/ P D } |
|