I remember old terminals showing | as two separate segments with a space in the middle.
Like most European keyboard layouts, there are several symbols available using AltGr, but only ¦ and € are printed on the keys. ¦ is AltGr+`.
¦ is even more useless than Shift+`, which gives ¬. At least I used ¬ when I was studying logic.
https://answers.microsoft.com/en-us/surface/forum/all/why-is...
But on the Macbook keyboard (US layout, circa 2015 if it matters) it's a solid line.