13,511 karma · joined April 8, 2011
[1] is a totally different kind of tool that generates unmaintainable code full of absolute positions.
The linked tweet is an unofficial reply to Tibo's official info and Tibo makes a correction in a reply.
Take a look at the start of a file:
head file
Filter for things: head file | grep ...
Reformat, remove unwanted stuff, etc.: head file | grep ... | sed ...
Do things or dry run echo based on each line: head file | grep ... | sed ... | while read a; do ...; done
It all looks good so we change head to cat to run it on the whole file: cat file | grep ... | sed ... | while read a; do... ; done
Yes you can technically change "head file |" to "< file" but why bother? That's changes in two places and navigating between them instead of just <alt-d> cat.Same is true for other workflows. E.g. if you start with one of these supposedly better commands like "wc -l < file" (why isn't that just "wc -l file"?):
wc -l < file
Oh wait, we don't want every line, just ones matching a pattern. We could change it to wc -l <(grep ... file)
or grep -c ... file
which are both more work than just adding to an existing cat-based pipeline, where we just replace cat with "grep ...": grep ... file | wc -l
If we need to also match another pattern or whatever this pipeline approach is better then too.I agree it's likely the sign-up barrier, but also the button says "Open the web app" and then it doesn't open the web app.
You can email the mods for advice/info on this sort of thing (Contact link at the bottom).
There are some screenshots of what it's supposed to look like here: https://github.com/rioharper/Inkfield
I doubt they've even heard of Mageia.