<commit_before>#!/bin/bash
###
# use "bash strict mode", @see http://redsymbol.net/articles/unofficial-bash-strict-mode/
# https://sipb.mit.edu/doc/safe-shell/
set -euf
if [ "${BASH_VERSINFO[0]}" -ge 3 ]; then
  set -o pipefail
fi
IFS=$'\n\t'
###
# use command debugging
#set -x

#Mac AppStore - list all installed apps
mas list > mas-list

#Brew - list all DIRECTLY installed apps (brew leaves does not list automatically installed dependencies)
brew leaves > brew-list

#Brew Cask - list all installed apps
brew cask list > brew-cask-list<commit_msg>write changed software to lists in the same directory as this script.<commit_after>#!/bin/bash
###
# use "bash strict mode", @see http://redsymbol.net/articles/unofficial-bash-strict-mode/
# https://sipb.mit.edu/doc/safe-shell/
set -euf
if [ "${BASH_VERSINFO[0]}" -ge 3 ]; then
  set -o pipefail
fi
IFS=$'\n\t'
###
# use command debugging
#set -x

base_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

#Mac AppStore - list all installed apps
mas list > "${base_dir}"/mas-list

#Brew - list all DIRECTLY installed apps (brew leaves does not list automatically installed dependencies)
brew leaves > "${base_dir}"/brew-list

#Brew Cask - list all installed apps
brew cask list > "${base_dir}"/brew-cask-list
{'fraction_non_alphanumeric': 0.14817749603803487, 'fraction_numerical': 0.003961965134706815, 'mean_word_length': 4.134146341463414, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7187329', 'n_tokens_mistral': 446, 'n_tokens_neox': 423, 'n_words': 137}