=== removed file 'scripts/emerge_log_sanitizer.sed' --- scripts/emerge_log_sanitizer.sed 2017-10-12 20:32:11 +0000 +++ scripts/emerge_log_sanitizer.sed 1970-01-01 00:00:00 +0000 @@ -1,30 +0,0 @@ -#!/bin/sed -nrf -# TS: \([0-9]\): - - /([0-9]+): >>> emerge \([^)]+\) ([^ ]+) to .*/ { -s/([0-9]+): >>> emerge \([^)]+\) ([^ ]+) to .*/\1\temerge-start\t\2/ -p; n; } - - /([0-9]+): ::: completed emerge \([^)]+\) ([^ ]+) to .*/ { -s/([0-9]+): ::: completed emerge \([^)]+\) ([^ ]+) to .*/\1\temerge-finish\t\2/ -p; n; } - - /([0-9]+): === Unmerging... \(([^ )]+)\)/ { -s/([0-9]+): === Unmerging... \(([^ )]+)\)/\1\tunmerge-start\t\2/ -p; n; } - - /([0-9]+): >>> unmerge success: (.*)/ { -s/([0-9]+): >>> unmerge success: (.*)/\1\tunmerge-finish\t\2/ -p; n; } - - /([0-9]+): Started emerge on:.*/ { -s/([0-9]+): Started emerge on:.*/\1\tprogram-start/ -p; n; } - - /([0-9]+): \*\*\* exiting unsuccessfully with status '([^']+)'.*/ { -s/([0-9]+): \*\*\* exiting unsuccessfully with status '([^']+)'.*/\1\tprogram-exit\t\2/ -p; n; } - - /([0-9]+): \*\*\* exiting successfully.*/ { -s/([0-9]+): \*\*\* exiting successfully.*/\1\tprogram-exit\t0/ -p; n; } === removed file 'scripts/last_emerge.awk' --- scripts/last_emerge.awk 2017-10-12 20:32:11 +0000 +++ scripts/last_emerge.awk 1970-01-01 00:00:00 +0000 @@ -1,31 +0,0 @@ -#!/bin/awk -f -BEGIN { - FS="\t" -} - -$2 == "program-start" { - emerge_count = 0; - unmerge_count = 0; - start_ts = $1; - delete started; -} - -$2 == "emerge-start" { - started[$3]=$1; -} - -$2 == "emerge-finish" { - delete started[$3]; - emerge_count += 1; -} - -$2 == "unmerge-finish" { - unmerge_count += 1; -} - -END { - print "started: " start_ts " installed: " emerge_count " uninstalled: " unmerge_count - for(cpv in started) { - print started[cpv] "\t" cpv - } -} === removed file 'scripts/portage_logcat' --- scripts/portage_logcat 2017-10-12 20:32:11 +0000 +++ scripts/portage_logcat 1970-01-01 00:00:00 +0000 @@ -1,13 +0,0 @@ -#!/bin/zsh -setopt no_unset extended_glob - -if (($+3)); then - cd $3 || exit $? -fi - -find -name ${2//\//:}:\* -printf '%T@\t%p\n' \ - | while read ts filename; do - if (( $ts > $1 )); then - cat $filename || exit $? - fi -done