Since you've got it in RCS, you shouldn't have any problem adding new
features. How about a selectable display of fields, and ability to put
them in machine-readable (read: no cut required) form? I'd suggest
having a function that would printf "%s: whatever", arg1 for humans
and "whatever" for machines, selectable by something like a -c
"compact output flag." Here's the GPLd stat I have:

{"/usr"}# stat
stat [-cihsv] [-o opts] [-f file] [filename ...]
        -h      this help
        -v      verbose output
        -c      compact output
        -i      ignore errors
        -s      stop on error
        -f      read filenames to be stat-ed from file (- means stdin)
        -d      dereference symbolic links.
        -o opts output options (case insensitive):
                a       access time
                c       creation time
                d       device
                g       group
                i       inode
                l       links
                m       mode
                n       file name
                o       modification time
                s       size
                t       type
                u       owner


 Brian Fundakowski Feldman      _ __ ___ ____  ___ ___ ___  
 [EMAIL PROTECTED]                   _ __ ___ | _ ) __|   \ 
     FreeBSD: The Power to Serve!        _ __ | _ \._ \ |) |
       http://www.FreeBSD.org/              _ |___/___/___/ 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to