lkml.org 
[lkml]   [1997]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [offtopic] Re: If Linux is to succeed
    Date
    > > pc5829:/usr/X11R6/man/man3$ grep -l 'XLIB FUNCTIONS' * | wc -l
    > > 181
    > > pc5829:/usr/X11R6/man/man3$ grep -l 'XT FUNCTIONS' * | wc -l
    > > 95
    > >
    > > 181+95 calls.
    >
    > Point taken. 167+181+95=443 vs ~1500


    not advocating for NT or M$ at all but this counting of man page entries
    is very inaccurate:

    # echo /usr/X11R6/man/man3/X[A-Z]* | wc -w
    517
    # echo /usr/X11R6/man/man3/Xt[A-Z]* | wc -w
    263
    # echo /usr/X11R6/man/man3/Xm[A-Z]* | wc -w
    550


    or even better:

    # nm /usr/lib/libc.so.5.4.7 | grep -v _ | grep -c " T "
    331

    # nm /usr/X11R6/lib/libX11.so | grep -v _ | grep -c " T "
    756
    # nm /usr/X11R6/lib/libXt.so | grep -v _ | grep -c " T "
    299

    # nm /usr/X11R6/lib/libXaw.so | grep -v _ | grep -c " T "
    61

    # nm /usr/X11R6/lib/libXm.so.1.2.4 | grep -v __ | grep -c " T " # a.out DLL lib
    491

    # nm /usr/X11R6/lib/libXm.so.2.0.0 | grep -v _ | grep -c " T "
    569

    so X11+Xt+Xm = 756+299+569 = 1624



    Harald
    --
    All SCSI disks will from now on ___ _____
    be required to send an email notice 0--,| /OOOOOOO\
    24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
    \ \/OOOOOOOOOOOOOOO\
    \ OOOOOOOOOOOOOOOOO|//
    Harald Koenig, \/\/\/\/\/\/\/\/\/
    Inst.f.Theoret.Astrophysik // / \\ \
    koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^

    \
     
     \ /
      Last update: 2005-03-22 13:38    [W:0.017 / U:31.580 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site