00:17:06 -guybrush.hackint.org- *** Notice -- TS for #archiveteam-ot changed from 1655942825 to 1567805912 01:47:55 https://twitter.com/jasonbaumgartne/status/1539780596272070656 02:18:46 About time :-) 02:25:56 Thanks to funding from ... the US Food and Drug Administration‽ https://twitter.com/jasonbaumgartne/status/1537540118084476942 02:34:35 N00B question regarding `sed' (I'm using BSD `sed' but GNU `sed' also works): How do I match, but not replace, the "[&?]lang=" matched? 02:34:38 I got this far: 02:34:53 sed 's/[?&]lang=\(chn\|eng\|jpn\|rus\)/something/' 02:35:35 So an example situation would be: foobar?lang=rus -> foobar?lang=something 02:36:21 Which, as you could probably tell, that ? could also be a &. 02:37:09 systwi: At least GNU sed supports backreferences in the replacement pattern. So `sed 's/\([?&]lang=\)\(chn\|eng\|jpn\|rus\)/\1something/'` should work. 02:40:03 Does [?&]lang= need to be wrapped in parentheses? 02:40:17 Yes, that's what creates the \1 capture group. 02:40:30 Ahh, gotcha. Trying it out. 02:42:54 Works with GNU `sed', thanks. :) 02:44:27 I was wondering about the FDA thing as well, hahaha. 02:54:40 Had to switch it up a bit for BSD `sed', but it works! :D 02:54:52 sed -E 's/([?&]lang=)(chn|eng|jpn|rus)/\1something/' 02:55:37 For some reason, escaping the second set of parentheses broke the backreferencing. 05:09:03 hexa-: ^ This might be one of those weird 'Remote host closed connection' cases. 05:09:31 'Remote host closed the connection'* 07:19:55 JAA: ok 07:24:35 they're reconnected to another server now, which apparently makes for a stable connection 20:58:38 Is there an SVG version of the AT Warrior logo?