3 # Copyright (c) Eric Lesh, 2007
6 USAGE
="[ -n | --none | -s | --series | [--pop|--reapply] <guards...> ]"
12 if [ $
(printf %s
"$x" |
grep -e "^[+-]") ]; then
13 die
"'$x' cannot begin with + or -."
16 echo "$@" |
sed -e 's/ /\n/g' |
sort |
uniq > "$guards_file"
20 if [ -s "$guards_file" ]; then
23 echo >&2 "No guards applied"
45 (get_full_series |
while read patch; do
47 done) |
sed -e 's/ /\n/g' |
sort |
uniq