<commit_before>#!/bin/sh
#
#  wiki_table.command
#
#  Created by <NAME> on 25.03.21.
#  

outfile=~/Desktop/SupportedСodecs.md
printf '#### Currently supported codecs\n' > $outfile
#printf '*The table not full, watch all supported layout-id in [Resources](https://github.com/acidanthera/AppleALC/tree/master/Resources).* \n'
printf '| Vendor | Codec | Revisions and layouts | MinKernel | MaxKernel |\n' >> $outfile
printf '|--------|-------|-----------------------|-----------|-----------|\n' >> $outfile

cd "$(dirname "$0")/../Resources/"
for d in */ ; do
if [ -f "$d"/Info.plist ]; then
vendor=$(/usr/libexec/PlistBuddy -c "Print Vendor"  "$d"/Info.plist)
<commit_msg>SupportedCodecs modification date<commit_after>#!/bin/sh
#
#  wiki_table.command
#
#  Created by <NAME> on 25.03.21.
#  

outfile=~/Desktop/SupportedСodecs.md
printf '#### Currently supported codecs '$(date '+%Y-%m-%d')'\n' > $outfile
#printf '*The table not full, watch all supported layout-id in [Resources](https://github.com/acidanthera/AppleALC/tree/master/Resources).* \n'
printf '| Vendor | Codec | Revisions and layouts | MinKernel | MaxKernel |\n' >> $outfile
printf '|--------|-------|-----------------------|-----------|-----------|\n' >> $outfile

cd "$(dirname "$0")/../Resources/"
for d in */ ; do
if [ -f "$d"/Info.plist ]; then
vendor=$(/usr/libexec/PlistBuddy -c "Print Vendor"  "$d"/Info.plist)

{'fraction_non_alphanumeric': 0.2666184971098266, 'fraction_numerical': 0.010115606936416185, 'mean_word_length': 2.8365650969529086, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 2, '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': '1273254', 'n_tokens_mistral': 499, 'n_tokens_neox': 459, 'n_words': 112}