Re: [dev] [sbase] -h/--human-readable on sbase

From: Amadeus Folego <amadeusfolego_AT_gmail.com>
Date: Fri, 9 May 2014 11:58:54 -0300

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...]
Received on Fri May 09 2014 - 16:58:54 CEST

This archive was generated by hypermail 2.3.0 : Fri May 09 2014 - 17:00:08 CEST