<commit_before>#!/usr/bin/bash
rel=../..
if [ x"$TOP" == x ]; then TOP=`pwd`/$rel; fi
. $rel/linux-ow.sh

dos=1
doshuge=1
win30=1 # Windows 3.0
win31=1 # Windows 3.1
winnt=1 # Windows NT
win32=1 # Windows 9x/NT/XP/Vista/etc.
win32s=1 # Windows 3.1 + Win32s

if [ "$1" == "clean" ]; then
    do_clean
    rm -Rfv linux-host
    rm -fv test.dsk test2.dsk nul.err tmp.cmd tmp1.cmd tmp2.cmd
    exit 0
fi

if [ "$1" == "disk" ]; then
    make_msdos_data_disk test.dsk || exit 1
    mcopy -i test.dsk dos86c/test.exe ::test86c.exe
    mcopy -i test.dsk dos86s/test.exe ::test86s.exe
    mcopy -i test.dsk dos86m/test.exe ::test86m.exe
    mcopy -i test.dsk dos86l/test.exe ::test86l.exe
    mcopy -i test.dsk dos286c/test.exe ::test286c.exe
    mcopy -i test.dsk dos286s/test.exe ::test286s.exe
    mcopy -i test.dsk dos286m/test.exe ::test286m.exe
    mcopy -i test.dsk dos286l/test.exe ::test286l.exe
    mcopy -i test.dsk dos386f/test.exe ::test386.exe
    mcopy -i test.dsk dos486f/test.exe ::test486.exe
    mcopy -i test.dsk dos586f/test.exe ::test586.exe
    mcopy -i test.dsk dos686f/test.exe ::test686.exe
    mcopy -i test.dsk dos386f/dos4gw.exe ::dos4gw.exe
    mcopy -i test.dsk dos86s/pnpcfg.exe ::pnpcfg86.exe
fi

if [[ "$1" == "build" || "$1" == "" ]]; then
    make_buildlist
    begin_bat

    what=all
    if [ x"$2" != x ]; then what="$2"; fi
    if [ x"$3" != x ]; then build_list="$3"; fi

    for name in $build_list; do
        do_wmake $name "$what" || exit 1
        bat_wmake $name "$what" || exit 1
    done

    end_bat
fi
<commit_msg>test disk build<commit_after>#!/usr/bin/bash
rel=../..
if [ x"$TOP" == x ]; then TOP=`pwd`/$rel; fi
. $rel/linux-ow.sh

dos=1
doshuge=1
win30=1 # Windows 3.0
win31=1 # Windows 3.1
winnt=1 # Windows NT
win32=1 # Windows 9x/NT/XP/Vista/etc.
win32s=1 # Windows 3.1 + Win32s

if [ "$1" == "clean" ]; then
    do_clean
    rm -Rfv linux-host
    rm -fv test.dsk test2.dsk nul.err tmp.cmd tmp1.cmd tmp2.cmd
    exit 0
fi

if [ "$1" == "disk" ]; then
    make_msdos_data_disk test.dsk || exit 1
    mcopy -i test.dsk dos86s/dosamp.exe ::amp86s.exe
    mcopy -i test.dsk dos86l/dosamp.exe ::amp86l.exe
    mcopy -i test.dsk dos386f/dosamp.exe ::amp386.exe
    mcopy -i test.dsk win32s3/dosamp.exe ::amp32s.exe
    mcopy -i test.dsk win32/dosamp.exe ::amp32.exe
    mcopy -i test.dsk winnt/dosamp.exe ::ampnt.exe
    mcopy -i test.dsk win313l/dosamp.exe ::amp16.exe
    mcopy -i test.dsk dos386f/dos4gw.exe ::dos4gw.exe
fi

if [[ "$1" == "build" || "$1" == "" ]]; then
    make_buildlist
    begin_bat

    what=all
    if [ x"$2" != x ]; then what="$2"; fi
    if [ x"$3" != x ]; then build_list="$3"; fi

    for name in $build_list; do
        do_wmake $name "$what" || exit 1
        bat_wmake $name "$what" || exit 1
    done

    end_bat
fi

{'fraction_non_alphanumeric': 0.1609442060085837, 'fraction_numerical': 0.06580829756795423, 'mean_word_length': 2.627756160830091, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6233335', 'n_tokens_mistral': 1370, 'n_tokens_neox': 1201, 'n_words': 298}