Conversation
Notices
-
Embed this notice
kaia (kaia@brotka.st)'s status on Tuesday, 16-Apr-2024 15:53:58 JST kaia > If sed does not work, why not use awk?
:floofWoozy_256: that's like 20x worse- Puniko ? likes this.
-
Embed this notice
Puniko ? (puniko@mk.absturztau.be)'s status on Tuesday, 16-Apr-2024 15:54:27 JST Puniko ? @kaia@brotka.st use perl then :blobcatgooglyfingerguns:
Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
Puniko ? (puniko@mk.absturztau.be)'s status on Tuesday, 16-Apr-2024 15:58:22 JST Puniko ? @lanodan@queer.hacktivis.me @kaia@brotka.st idk what kaia wants to do, but sed usually works great for most use cases for me tbh. never really had to resort to something else :neocat_googly_woozy:
kaia likes this. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Tuesday, 16-Apr-2024 15:58:23 JST Haelwenn /элвэн/ :triskell: @puniko @kaia I love this swiss army chainsaw but it's a bit brutal when sed ought to have been the right tool. kaia likes this. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Tuesday, 16-Apr-2024 16:00:50 JST Haelwenn /элвэн/ :triskell: @puniko @kaia Yeah, I've written some slightly obscure sed few times though. (like almost nobody uses {}-blocks to group sed commands but it's pretty useful sometimes)
Puniko ? likes this. -
Embed this notice
Puniko ? (puniko@mk.absturztau.be)'s status on Tuesday, 16-Apr-2024 16:02:11 JST Puniko ? @lanodan@queer.hacktivis.me @kaia@brotka.st :blobcatninja: ze sed ninja
-
Embed this notice
Puniko ? (puniko@mk.absturztau.be)'s status on Tuesday, 16-Apr-2024 16:03:05 JST Puniko ? @lanodan@queer.hacktivis.me @kaia@brotka.st i remember there was once an editor showdown challenge at the chaos congress where one of the participants used sed to compete. was pretty funny
Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
Puniko ? (puniko@mk.absturztau.be)'s status on Tuesday, 16-Apr-2024 16:03:22 JST Puniko ? @lanodan@queer.hacktivis.me @kaia@brotka.st (against emacs, vim and nano, iirc)
Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Tuesday, 16-Apr-2024 16:05:42 JST Haelwenn /элвэн/ :triskell: @puniko @kaia Reminds me that few times I've wanted to see how ed(1) (which I've used both interactively and in scripts…) compared to other editors.
Puniko ? likes this. -
Embed this notice
Paulajak (paulajak@boymoder.biz)'s status on Tuesday, 16-Apr-2024 16:07:24 JST Paulajak @kaia awk sounds cooler kaia likes this. -
Embed this notice
Paulajak (paulajak@boymoder.biz)'s status on Tuesday, 16-Apr-2024 16:07:25 JST Paulajak @kaia i don't know how either work -
Embed this notice
Puniko ? (puniko@mk.absturztau.be)'s status on Tuesday, 16-Apr-2024 16:08:01 JST Puniko ? @lanodan@queer.hacktivis.me @kaia@brotka.st can't find the vod anymore :neocat_googly_woozy_box:
Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
:marseyloadingneon: m0xEE :marseyloading: (m0xee@breloma.m0xee.net)'s status on Tuesday, 16-Apr-2024 16:44:34 JST :marseyloadingneon: m0xEE :marseyloading: @puniko
@lanodan @kaia
awk is a great tool once you get comfortable with it — and that's its problem: it only makes sense to use it when you have to do lots of such processing, when such an opportunity arises, you usually have already forgotten its syntax completely and it's more practical to use a shell script with sed 😩Haelwenn /элвэн/ :triskell: likes this.