this post was submitted on 03 May 2025
16 points (94.4% liked)

Linux

10226 readers
217 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

In this post, I go into hopefully better output parsing.

you are viewing a single comment's thread
view the rest of the comments
[–] Laser@feddit.org 3 points 3 days ago (1 children)

Maybe I should have written it differently: I think people are rather willing to install another tool than a whole new shell. The later would also require you to fundamentally change your scripts, because that's most often where you need that carefully extracted data. Otherwise manually copying and pasting would suffice.

I was thinking about writing a post about nu as well. But I wasn't sure that appeals to many, or is it should be part of something like a collection of stuff I like, together with fish as an example of a more traditional shell.

[–] chonkyninja@lemmy.world 0 points 3 days ago (1 children)

Maybe you should just learn the toolsets better. Structured looks great until you’re tasked either with parsing a 20GB structured file. Each line of text representing a single item in a collection makes total sense, then when you get into things like a list subtype there’s nothing stopping you from using a char sequence to indicate a child item.

[–] Laser@feddit.org 4 points 3 days ago

One might wonder if at those file sizes, working with text still makes sense. I think there's a good reason journald uses a binary format for storing all that data. And "real" databases tend to scale better than text files in a filesystem as well, even though a filesystem is a database.

Most people won't have to deal with that amount of text based data ever.