Update of /cvsroot/serverfilters/script
In directory sc8-pr-cvs1:/tmp/cvs-serv29520
Modified Files:
test.sh
Log Message:
test.sh demonstrates getting, modifying, then uploading, a filter file.
Index: test.sh
===================================================================
RCS file: /cvsroot/serverfilters/script/test.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test.sh 14 Dec 2003 20:55:27 -0000 1.2
--- test.sh 25 Dec 2003 02:11:45 -0000 1.3
***************
*** 1,2 ****
! (echo someuser; echo somepassword) | ./filtercmd getrc /home/tony/.procmailrc /tmp/test; echo "RESULT:" $?
--- 1,6 ----
! (echo tony; echo somepassword) | ./filtercmd getrc /home/tony/.procmailrc > filter; echo "RESULT:" $?
! echo '# hello world ' >> filter
! (echo tony; echo somepassword; cat filter) | ./filtercmd putrc /home/tony/.procmailrc; echo "RESULT:" $?
! (echo to...@so...; echo somepassword) | ./filtercmd getrc /home/tony/.procmailrc /tmp/test; echo "RESULT:" $?
!
|