[lkml]   [2001]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: bugreporting script - second try

    Matthias Juchem wrote:

    > On Wed, 10 Jan 2001, Richard Torkar wrote:
    > > I do not have any PPP, and no kdb installed on that machine, neither do I
    > > have procinfo. Shouldn't it say N/A or not found instead of the above? The
    > > ppp part is not true ;-).
    > > Other thing I thought about was the Ctrl-D thingy when entering text.
    > > What if ppl don't have any text to enter? Shouldn't is say on each line
    > > that if you don't have anything to write then just write N/A and press
    > > Ctrl-D? Because pressing Ctrl-D directly doesn't do any good.
    > Could you please check the new version here:

    problem: exits top level shell if no filename is specified, annoyance
    aesthetics: cat: /proc/scsi/scsi: No such file or directory, simple
    aesthetics: GNU make 3.79.1,
    problem: Linux libc5 C Library 5@..
    aesthetics: Linux libc6 C Library 2.2,
    problem: Linux C++ library 27@..
    problem: Net-tools
    problem: PPP file
    aesthetics: .config, recommend stripping the ^CONFIG_ and =, combine all 'y'
    and 'm'

    example fix for C library:
    sed \
    '/C [lL]ibrary /!d; s/[^0-9]*\([0-9.]*\).*/\1/' \

    example fix for C++ library:
    basename $(/usr/bin/ls -f /usr/i486-linux-libc5/lib/ \
    |gawk '{print $NF}')

    example fix for GNU make:
    make --version|sed '/version/!d; s/[^0-9]*\([0-9.]*\).*/\1/'

    example fix for net-tools:
    1) hostname from sh-utils:
    hostname --version|sed '/GNU sh/!d; s/[^0-9]*\([0-9.]*\).*/\1/'
    2) ifconfig from net-tools:
    ifconfig --version 2>&1|sed '/net\-tools/!d; s/[^0-9]*\([0-9.]*\).*/\1/'

    pppd requires a proper /etc/ppp/options file before printing the version, if
    you have devfs and a disconnecting modem, i.e. usb modem, it must be
    attached for the /dev entry or pppd will refuse to run.

    I prefer using e2fsck to report the version:
    e2fsck -V 2>&1 |sed '/e2fsck/!d; s/e2fsck [^0-9]*\([0-9.]*\).*/\1/'


    title:Blue Labs Developer
    note;quoted-printable:GPG key:
    fn:David Ford
     \ /
      Last update: 2005-03-22 13:28    [W:0.022 / U:2.452 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site