The -h or --human-readable option is not available on ls, and probably a
lot of other places on sbase.

This is something that would help me migrating to an userspace made with
sbase binaries.

Would implementing this be desirable, straightforward and compliant with
suckless design concepts?

I could go ahead and implement this.

Example:

  ~/C/sbase ❯❯❯ /usr/bin/ls -ahl | /usr/bin/tail -3
  -rw-r--r--  1 badosu 100  184 Apr 22 11:42 yes.1
  -rw-r--r--  1 badosu 100  359 Apr 22 11:42 yes.c
  -rw-r--r--  1 badosu 100 4.4K May  9 11:39 yes.o

  ~/C/sbase ❯❯❯ ./ls -al | ./tail -3
  -rw-r--r--  1 badosu 100      184 Apr 22 11:42 yes.1
  -rw-r--r--  1 badosu 100      359 Apr 22 11:42 yes.c
  -rw-r--r--  1 badosu 100     4464 May 09 11:39 yes.o

  ~/C/sbase ❮❮❮ ./ls -ahl | ./tail -3
  usage: ./ls [-adFilrtU] [FILE...]

Reply via email to