ls is bloat?? - /g/ (#105586335) [Archived: 1157 hours ago]

Anonymous
6/14/2025, 12:51:11 AM No.105586335
th-883213780
th-883213780
md5: ef7d1f852de3e69e50067f29fb9e05d2๐Ÿ”
alias 'ls'='for i in *; do echo $i; done'

I wonder how much one could theoretically cut from the coreutils in this sort of way
Obviously impractical, interesting to think about
Replies: >>105586367 >>105586578 >>105586866 >>105586882
Anonymous
6/14/2025, 12:54:32 AM No.105586367
>>105586335 (OP)
Hehe, I had to write that once. We were having a competition on who could have the smallest docker image. Had the original bsd bourne shell. Thatโ€™s it.
Really all you need.
Anonymous
6/14/2025, 1:19:28 AM No.105586578
>>105586335 (OP)
That doesn't even work, let alone offer all that ls would. If you are worried about kilobytes of space in 2025, you have missed the boat.
Replies: >>105586941
Anonymous
6/14/2025, 1:55:56 AM No.105586866
audacity-screenshot
audacity-screenshot
md5: 2cabd704f36eb9f429573588c1faa40d๐Ÿ”
>>105586335 (OP)
Replies: >>105587866
Anonymous
6/14/2025, 1:57:10 AM No.105586876
what about
ls -lrt
Replies: >>105586941
Anonymous
6/14/2025, 1:58:11 AM No.105586882
>>105586335 (OP)
just echo *
Replies: >>105586941
Anonymous
6/14/2025, 2:06:28 AM No.105586941
>>105586882
because having one per line is nice
>>105586578
its not about the space, its just a thought experiment
>>105586876
usecase?
Anonymous
6/14/2025, 2:09:57 AM No.105586962
peta
peta
md5: f8e79ea3b455f3f91c451a8e439ce905๐Ÿ”
1. replace GNU coreutils with BSD utils
2. Wait until Ubuntu rewrote the coreutils with their rust trash
3. Write your own ls which is like 10 lines and replace your current ls

Did a thread really die because of your stupidity, OP?
Replies: >>105588083
Anonymous
6/14/2025, 4:35:49 AM No.105587866
file
file
md5: d39c42ad56bd406e8ea3506783d8135a๐Ÿ”
>>105586866
Anonymous
6/14/2025, 5:18:51 AM No.105588083
>>105586962
Peta is disgusting.
Luckily, the animals eat each other so they are safe from Peta people.