8
max=$(LANG=C LC_ALL=C xargs --show-limits < /dev/null 2>&1 | awk '/Maximum/ {print int($NF / 4)}')
10
| awk -F/ 'BEGIN {OFS="/"} /\.py$/ {$NF=sprintf("__pycache__/%s.*.py[co]", substr($NF,1,length($NF)-3)); print}' \
11
| xargs --max-chars=$max echo \
12
| while read files; do rm -f $files; done
13
if [ -d /usr/bin/__pycache__ ]; then
14
rmdir --ignore-fail-on-non-empty /usr/bin/__pycache__
20
remove_bytecode @PVER@-dbg
23
remove_bytecode @PVER@-dbg
30
echo "prerm called with unknown argument \`$1'" >&2