I have to take a list (loads) of IP addresses in this format:
134.27.128.0
111.245.48.0
109.21.244.0
and turn them into this format with a pipe in-between (IPs made up)
134.27.128.0 | 111.245.48.0 | 109.21.244.0 | 103.22.200.0/22
I think it is a find and replace command like sed but I can't get it to work.