https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
4 lines
52 B
Text
4 lines
52 B
Text
beginning
|
|
middle replace this not this
|
|
and this
|
|
end
|