3 # Copyright (c) Eric Lesh, 2007
6 USAGE
="[ -n | --none | -s | --series | [--pop|--reapply] <guards...> ]"
7 if [ -z "$GUILT_VERSION" ]; then
8 echo "Invoking `basename "$0"` directly is no longer supported." >&2
15 if [ $
(printf %s
"$x" |
grep -e "^[+-]") ]; then
16 die
"'$x' cannot begin with + or -."
19 echo "$@" |
sed -e 's/ /\n/g' |
sort |
uniq > "$guards_file"
25 if [ -s "$guards_file" ]; then
28 echo >&2 "No guards applied"
50 (get_full_series |
while read patch; do
52 done) |
sed -e 's/ /\n/g' |
sort |
uniq