Post #2806625
2026-05-03 21:59 UTC
Replies (2)
-
@wouter@pleroma.debian.social 2026-05-03 22:06
@mattskala@mstdn.io Anyone who tries to parse the ls output for symlink status rather than using https://manpages.debian.org/trixie/coreutils/stat.1.en.html (and doesn't do so in a shell with potential output-changing environment variables cleared) deserves for their scripts to be broken. ls is an interactive program, its output should not be considered parseable. @bkuhn@fedi.copyleft.org @vagrantc@floss.social @mjw@mastodon.nl
-
@bkuhn@fedi.copyleft.org 2026-05-03 22:07
@mattskala@mstdn.io Indeed, what @wouter@pleroma.debian.social said! Frankly, if any script, Makefile, tutorial, or tech support is relying on the 'ls' output with additional options to look a specific way, then something is more likely wrong with those Makefiles, tutorials, or tech support folks' training. You could have made the same argument when '-h' was created as an option to 'ls'. Anyway, maybe you misread the thread? No one was actually suggesting changing 'ln'. (Ah,you replied to say that) Cc: @vagrantc@floss.social @mjw@mastodon.nl