<commit_before>require findutils.inc

EXTRA_OECONF += " ac_cv_path_SORT=/usr/bin/sort "

do_install_append () {
        mv ${D}${bindir}/find ${D}${bindir}/find.${PN}
        mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN}
}

pkg_postinst_${PN} () {
	for i in find xargs; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done
}

pkg_prerm_${PN} () {
	for i in find xargs; do update-alternatives --remove $i $i.${PN}; done
}<commit_msg>findutils: remove install_apend it looks good inside the image dir now<commit_after>require findutils.inc

EXTRA_OECONF += " ac_cv_path_SORT=/usr/bin/sort "

pkg_postinst_${PN} () {
	for i in find xargs; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done
}

pkg_prerm_${PN} () {
	for i in find xargs; do update-alternatives --remove $i $i.${PN}; done
}
{'fraction_non_alphanumeric': 0.1794871794871795, 'fraction_numerical': 0.007326007326007326, 'mean_word_length': 4.256410256410256, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5511058', 'n_tokens_mistral': 333, 'n_tokens_neox': 323, 'n_words': 77}