<commit_before># Written by <NAME> <<EMAIL>> in 2020 under the terms of MIT

BIN = ~/.local/bin
FILE = swallow.py
PROGRAM = swallow

.PHONY: all list

#@ Default target invoked on 'make' (outputs syntax error on this project)
all:
	@ $(error Target 'all' is not allowed, use 'make list' to list available targets or read the 'Makefile' file)
	@ exit 2

#@ List all targets
list:
	@ true \
		&& grep -A 1 "^#@.*" Makefile | sed s/--//gm | sed s/:.*//gm | sed "s/#@/#/gm" | while IFS= read -r line; do \
			case "$$line" in \
				"#"*|"") printf '%s\n' "$$line" ;; \
				*) printf '%s\n' "make $$line"; \
			esac; \
		done


#@ Install swallow in ~/.local/bin/swallow
install: uninstall
	@ [ -f "$(BIN)/$(FILE)" ] || { cp -p $(FILE) "$(BIN)/$(PROGRAM)" || exit 1 ;}
	@ [ -x "$(BIN)/$(FILE)" ] || { chmod +x "$(BIN)/$(PROGRAM)" || exit 1 ;}


#@ Uninstall swallow
uninstall:
	@ [ ! -f "$(BIN)/$(FILE)" ] || { rm -f "$(BIN)/$(PROGRAM)" || exit 1 ;}<commit_msg>replace invalid var<commit_after># Written by <NAME> <<EMAIL>> in 2020 under the terms of MIT

BIN = ~/.local/bin
FILE = swallow.py
PROGRAM = swallow

.PHONY: all list

#@ Default target invoked on 'make' (outputs syntax error on this project)
all:
	@ $(error Target 'all' is not allowed, use 'make list' to list available targets or read the 'Makefile' file)
	@ exit 2

#@ List all targets
list:
	@ true \
		&& grep -A 1 "^#@.*" Makefile | sed s/--//gm | sed s/:.*//gm | sed "s/#@/#/gm" | while IFS= read -r line; do \
			case "$$line" in \
				"#"*|"") printf '%s\n' "$$line" ;; \
				*) printf '%s\n' "make $$line"; \
			esac; \
		done


#@ Install swallow in ~/.local/bin/swallow
install: uninstall
	@ [ -f "$(BIN)/$(PROGRAM)" ] || { cp -p $(FILE) "$(BIN)/$(PROGRAM)" || exit 1 ;}
	@ [ -x "$(BIN)/$(PROGRAM)" ] || { chmod 770 "$(BIN)/$(PROGRAM)" || exit 1 ;}


#@ Uninstall swallow
uninstall:
	@ [ ! -f "$(BIN)/$(PROGRAM)" ] || { rm -f "$(BIN)/$(PROGRAM)" || exit 1 ;}
{'fraction_non_alphanumeric': 0.23184647302904565, 'fraction_numerical': 0.010892116182572614, 'mean_word_length': 3.0271398747390394, 'pattern_counts': {'":': 0, '<': 9, '<?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': '2024183', 'n_tokens_mistral': 805, 'n_tokens_neox': 720, 'n_words': 236}