9 ms·
Wow, the comments in this thread are quite harsh. I wonder if a lot of that has to do with how it's being "marketed" --- it might just be me, but whenever I se
by userbinator 9y ago
Wow, the comments in this thread are quite harsh.
I wonder if a lot of that has to do with how it's being "marketed" --- it might just be me, but whenever I see "modern" being used to describe something, it evokes the negative connotations of being trendy, fashionable, boring, vapid, fleeting, style-over-substance that's all too common with software today (Windows' "modern UI/Metro" being one of the first examples to come to mind); not exactly the right sentiment for promoting a tool that's supposed to be long-lasting, foundational, and practical.
Perhaps if the title didn't contain "modern", the discussion here would go in a different direction.
- jbooth 9y agoI did some nodejs work the other month, pinch-hitting in a product crunch, we're using grunt. `grunt test`.. ooh, so pretty and creative! `grunt test > test.out`, wtf, why is my file full of control character bullshit?
- TheCoreh 9y agoTo be fair, they could avoid that by checking if stdout is a TTY or not.
- stevedonovan 9y agoThat's an amateur hour mistake on their part, frankly. I hope they have a 'switch color off' flag.
- tazjin 9y agoWelcome to the JavaScript ecosystem.
- rndmize 9y agoGiven how half the comments are complaining about the colors and there's a whole thread on whether 3MB is "small" or not... I doubt it.
- SmirkingRevenge 9y agoMaybe. Whether the term "modern" was used or not, my hunch is that the response would be the same, for it is forbidden for one to deign to make these kinds of changes to fundamental Unix commands, and is tantamount to a kind of heresy (never mind that GNU implementations did this all the time wrt. original Unix implementations). Religion... never cared for it. Re-invent the whole crappy (though still less crappy than alternatives) Unix command line, I say.
- vostok 9y agoOf course you hear the same complaints about GNU Coreutils. In general complaining about GNU-isms and GNU bloat is a time-honored tradition
- thecrazyone 9y agoAmen! (:giggles:) I doubly agree for reinventing fundamentals or attempting to. To be fair, given how resilient unix tools have been, this following and to some extent the harshness is to be expected, I think
- wvh 9y agoA lot of stuff depends on the basic Unix commmands though. It might be better to invent a new command name if the output differs in ways that would break both human and machine expectations. The difference between BSD and GNU versions of some commands is already enough to trip me up even after all these years. You expect `ls` to be `ls` on anything remotely POSIX/Unix-y. I like the ideas in this tool, but it's very end-user oriented and by being written in Rust with stuff like minor Git functionality built in, definitely not as general purpose as a command like plain old `ls`.
- inopinatus 9y agoI'd suggest describing it as a "colourful alternative" rather than a "modern replacement", because no-one will be removing /bin/ls with exa installed. "Replacement" strongly implies removal of the thing being replaced, as with "replacement hip", "replacement CEO" etc. As for why anyone might feel aggrieved about replacement of core Unix services, my mind immediately drew a (possibly unfair, but emotionally comparable) parallel with systemd.
- unkown-unknowns 9y ago> because no-one will be removing /bin/ls with exa installed. Why not? I would.
- bipson 9y agoYeah, that's the thing: built in gnu tools might be used by other tools/scripts/etc. - if you're ls isn't there or delivers unexpected output, they will fail miserably or cause havoc
- SSLy 9y agos/you're/your/
- xyproto 9y agoNo script should parse ls output, though. There are always better ways than parsing ls output.
- inopinatus 9y agoThe POSIX specification for ls's output is sufficiently precise[1] that it is quite reasonable to rely upon it. As a result, many scripts from a diverse array of vendors do so. A cursory glance at my home Ubuntu server has 'ls' invoked in many of the base package installation scripts and more besides. One could sometimes use find(1) of course, but it has different semantics and output to ls unless you jump through some very silly command-line hoops that will make you say "should've just used ls". As for the stat(1) program, which might be an alternative for individual files, it is not standardised, is not portable, and is in fact totally incompatible between GNU coreutils and BSD userland (including Mac OS). [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ls.html#tag_20_73_10 http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ls...
- coldtea 9y ago>I wonder if a lot of that has to do with how it's being "marketed" --- it might just be me, but whenever I see "modern" being used to describe something, it evokes the negative connotations of being trendy, fashionable, boring, vapid, fleeting, style-over-substance that's all too common with software today For me, when I see people waxing poetically about the unix way and the old, crufty, POSIX userland, it's all about cargo cult, "that's how things have always been", minimum viable progress while keeping compatibility, and heritage-over-substance.