<commit_before>#!/bin/bash

egrep -i 'operating system| OS\b|\[\[OS ' newpages.txt | egrep -iv 'Windows|Unix|Linux|Mac OS|Open(| )BSD|Net(| )BSD|Free(| )BSD|\bDOS\b|Google Android' >> OperatingSystems.txt

OS=`stat --print=%s OperatingSystems.txt`

if [ $OS -ne 0 ];
then
  export CATFILE="OperatingSystems.txt"
  export CATNAME="Operating systems"
  $CATEGORIZE
fi

CURRENTDIR="./catscripts/Technology/Computers/Software/Operating_systems"

$CURRENTDIR/FreeBSD/FreeBSD.sh
$CURRENTDIR/Linux/Linux.sh
$CURRENTDIR/Mac_OS_X/Mac_OS_X.sh
$CURRENTDIR/OpenBSD/OpenBSD.sh
$CURRENTDIR/Unix/Unix.sh
$CURRENTDIR/Windows/Windows.sh

rm OperatingSystems.txt<commit_msg>Adding MS-DOS<commit_after>#!/bin/bash

egrep -i 'operating system|(^| )OS\b|\[\[OS ' newpages.txt | egrep -iv 'Windows|Unix|Linux|Mac OS|Open(| )BSD|Net(| )BSD|Free(| )BSD|\bDOS\b|Google Android|MS(|-| )DOS' >> OperatingSystems.txt

KEYWORDS_MSDOS="MS(|-| )DOS"

egrep -i "$KEYWORDS_MSDOS" newpages.txt >> MS-DOS.txt

OS=`stat --print=%s OperatingSystems.txt`
MSDOS=`stat --print=%s MS-DOS.txt`

if [ $OS -ne 0 ];
then
  export CATFILE="OperatingSystems.txt"
  export CATNAME="Operating systems"
  $CATEGORIZE
fi

if [ $MSDOS -ne 0 ];
then
  export CATFILE="MS-DOS.txt"
  export CATNAME="MS-DOS"
  $CATEGORIZE
fi

CURRENTDIR="./catscripts/Technology/Computers/Software/Operating_systems"

$CURRENTDIR/FreeBSD/FreeBSD.sh
$CURRENTDIR/Linux/Linux.sh
$CURRENTDIR/Mac_OS_X/Mac_OS_X.sh
$CURRENTDIR/OpenBSD/OpenBSD.sh
$CURRENTDIR/Unix/Unix.sh
$CURRENTDIR/Windows/Windows.sh

rm OperatingSystems.txt
rm MS-DOS.txt
{'fraction_non_alphanumeric': 0.1613316261203585, 'fraction_numerical': 0.0019206145966709346, 'mean_word_length': 5.27710843373494, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3143497', 'n_tokens_mistral': 680, 'n_tokens_neox': 627, 'n_words': 104}