This is not difficult to achieve at all with tools like sed or awk. But unless you provide a concrete example input file or files, all we can do is point to those tools.
- 1 Post
- 79 Comments
The problem is that
/-owill also match something like--my-irrelevant-option.Word boundaries match the end (or the beginning) of the word.
How exactly to do it depends on the regex library, my
lessis built withPCRE2therefore I can do/-o\b.
a14o@feddit.orgto
Selfhosted@lemmy.world•Caddy reverse proxy fails with a login pageEnglish
4·9 days agoSeems like the router doesn’t like how the headers are passed on. You could try:
login.router.lan { reverse_proxy 192.168.1.1:80 { header_up Host {upstream_hostport} } }https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#headers
a14o@feddit.orgto
Programmer Humor@programming.dev•OOP is a construct of oppression installed by the burgoise
33·10 days agoObject.property = theft;
If you’re not averse to CLI and some tinkering, i think
khalmay suit your needs.
I think Gnome + Flatpak is a great setup for GUI only. Fedora is annoying to set up with nonfree drivers and codecs, otherwise it’s a great choice for this.
(Also, don’t try convert your friends, just wait until they come to you and ask for help installing Linux.)
Interesting, seems like a bug in the client.
I disagree, it’s a fitting name, and I don’t have to type it unless I want to link to it.
Awesome, that’s exciting news!
(A good way to link to communities is like this: !Silksong@indie-ver.se - that way I can click and subscribe while staying logged in.)
a14o@feddit.orgto
Asklemmy@lemmy.ml•IF...If you owned a bookstore where would you classify this book?
3·2 months agoHm, I’d probably get a copy for the fantasy section as well. It really reads like a fantasy adventure.
a14o@feddit.orgto
Linux@lemmy.ml•Installed Linux for the fist time in Feb, I've now started saving ISO's
17·3 months agoIf I saw that folder name while using a friend’s machine I would know not to click on it to respect their privacy.
Yo! Grey wolves = fascist, don’t repost that shit
I didn’t read but the formatting is 🔥
Whats this from? Looks like a thing I would enjoy
Oh I’m sure it runs perfectly fine in a container, it’s just not my preferred setup.
To fix this, add
if(num == 255) return true;before line 10.




Have you tried
Outline?
I recently set it up and I’m very impressed.