#!/usr/local/bin/perl
# up.cgi
# Move a recipe up in the file

require './procmail-lib.pl';
&ReadParse();
@conf = &get_procmailrc();
&swap_recipes($conf[$in{'idx'}], $conf[$in{'idx'} - 1]);
&redirect("");

