• 0 Posts
  • 4 Comments
Joined 2 years ago
cake
Cake day: June 23rd, 2023

help-circle
  • Could someone perhaps explain the major use cases or give a real life example of a time you’ve needed to use awk? I’ve been using Linux casually for quite a long time now, and although I learned the basics of the tool, I can’t recall having ever felt I had a need for it. If I want to glue a bunch of cli stuff together and need to do some text processing, it generally seems like it’d be easier to just use a simple python script.

    Is it more for situations that need to be compatible with most *nix systems and you might not necessarily have access to a higher level scripting language?



  • Edit: Oh, OP basically already said the same thing.

    I think it really depends on the website and even where you are on the website. For example, if you’re on YT, the watch?v=<b64_id> is probably not something you want to throw away. If you’re on a news site like imaginarynews.com/.../the-article-title/?tracking-garbage=<...> then you probably do. It’s just a matter of having “sane” defaults that work as most people would expect.