Introduction
Introduction Statistics Contact Development Disclaimer Help
i----------------------------------------
iPutting the Structure in Action
iOctober 03rd, 2017
i----------------------------------------
i
iOkay, my sed skills are definitely not up to what they once were.
iI tried and tried to find a way to automatically add a space
ibefore every line until I reached the links at the bottom of the
ipage. Did it work? Oh hells, no. I got so friggin close. I could
iuse sed to get only the lines I wanted by using pattern ranges,
iand I could make those ranges add a space. I couldn't get that to
iwork with the -i parameter, though. It doubled up my content
iinstead of changing the lines I wanted changed.
i
iSo instead I'm being lazy. I cut the links out, format the doc,
ithen append the links back in after.
i
iThis whole thing is happening because of Maiki [0] on Mastodon.
iI hope his hugo to gopher solution is a big hit.
[0] Maiki's Website
You are viewing proxied material from sdf.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.