Re: BlameSentansoken...

"Alejandro Mery" <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
> ! crm -w X '-{isolate (:s:) //
> !        classify <osb unique> (g s) (:s:)
> !        output /:*:s:\n/
> !       }' < .crm/.deliver.zSAHL14278.crash
>
> you'd get the usual stats, and $?=0, whatever legal 'X' you set;

CLASSIFY succeeds; success probability: 1.0000  pR: 304.6527
Best match to file #0 (g) prob: 1.0000  pR: 70.7658
Total features in input file: 335976
#0 (g): features: 4822, hits: 12240, prob: 1.00e+00, pR:  70.77
#1 (s): features: 3126, hits: 953, prob: 1.71e-71, pR: -70.77

X=32000000, $?=0

> then try also eg
>
> ! crm -w 200000 '-{isolate (:s:) //
> !        classify <osb unique> (g s) (:s:)
> !        output /:*:_dw:/
> !       }' < .crm/.deliver.zSAHL14278.crash | wc -c
>
> and verify you get a char count of 200000 +/- 1.

199999
0

verified :-)


> As side note, looking at traces I'd say you've a dangerous PATH
> (at least for root) and perhaps bogus/unset SHELL, as it looks into too
> many app dirs even for core utils and sh (!) before landing into /bin.

side effect of using opt/ :-( and afaik bin/ is always left at the end...

this is an "own" distro... and PATH gets generated using:

if [ -w / ] ; then
        PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        for x in /usr/X11/bin /usr/X11/sbin /usr/games /usr/local/games \
                 /opt/*/bin /opt/*/sbin /opt/*/games $HOME/bin $HOME/sbin
        do
                [ -d $x ] && PATH="$x:$PATH"
        done
else
        PATH="/usr/local/bin:/usr/bin:/bin"
        for x in /usr/X11/bin /usr/games /usr/local/games \
                 /opt/*/bin /opt/*/games $HOME/bin
        do
                [ -d $x ] && PATH="$x:$PATH"
        done
fi
export PATH

what do you suggest?

Cheers,
Alejandro Mery

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.