[Toybox] new toy : w command

Gaurang Shastri gmshastri at gmail.com
Wed Jul 18 06:40:54 PDT 2012


Hi All,

Please find attached the initial implementation of "w" command.

Output after compiling my code with toybox :
{{{
[root at stark toybox-0.3.0]# ./toybox w
USER     TTY             LOGIN@                 FROM
root        tty2      Wed Jul 11 18:29:24 2012  ( )
rpmuser  pts/1    Wed Jul 11 21:33:15 2012  (43.88.80.109)
rpmuser  pts/2    Wed Jul 11 19:23:09 2012  (:0.0)
rpmuser  pts/3    Tue Jul 17 20:33:41 2012  (43.88.80.208)
}}}

Dear Rob, let me know your comments if any.

Thanks & Regards,
Gaurang Shastri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20120718/35529b25/attachment-0005.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w.c
Type: text/x-csrc
Size: 938 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20120718/35529b25/attachment-0006.c>


More information about the Toybox mailing list