l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
November 4: Social gathering
Next Installfest:
TBD
Latest News:
Oct. 24: LUGOD election season has begun!
Page last updated:
2002 Oct 04 11:06

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] help with script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] help with script



they probably do.  why?

are you saying this information should be kept secret?

in fact, i would _prefer_ for them to know this information.  that way,
i don't get people who do things like not using the correct subject
line, not using mime to encode their stuff, etc.  if they knew my
procedure, they'll be more careful to follow my directions to the
letter, lest they don't get credit for their homework.

pete


begin andy wergedal <awerg@yahoo.com> 
> I wonder if any of your students read the list?
> 
> -- Andy
> 
> --- Peter Jay Salzman <p@dirac.org> wrote:
> > begin msimons@moria.simons-clan.com
> > <msimons@moria.simons-clan.com> 
> > > On Thu, Oct 03, 2002 at 02:24:04PM -0700, Peter Jay
> > Salzman wrote:
> > > > excellent, mike!  thanks.
> > > > 
> > > > question -- is it possible to automatically apply a
> > perl script to the
> > > > body within mutt?
> > > > 
> > > > or perhaps using procmail:
> > > 
> > >   Absolutely with procmail but I don't have a rule
> > handy for that right 
> > > now.  You might have to de-mime the files before the
> > script can work on 
> > > them.
> > 
> > ya, i looked into that last night.  the procmial faq has
> > a link to a
> > procmail package that deals with mime stuff, but the link
> > was broken.
> > 
> > however, i found munpack.  so right now, i have a
> > procmail recipe that
> > sends acknowledgement that the homework was received and
> > saves it to a
> > folder:
> > 
> >    :0H:
> >    * !^FROM_DAEMON
> >    * !^X-Loop: beentheredonethat@dirac.org
> >    * ^Subject:.*105AL.*HW.*
> >    {
> >       :0c:
> >       | (formail -r -A"Precedence: junk" \
> >       -A"X-Loop: beentheredonethat@dirac.org" ; \
> >       cat ../academia/TA/phys105AL/105.response) |
> > $SENDMAIL -t
> >    
> >       :0:
> >       105
> >    }
> > 
> > i then have a list of codes for grading:
> > 
> > 0. Perfect.  Congrats on a job well done!
> > 1. main() needs an argument type, like "main(void)".
> > 2. main() needs a return type, like "int main()".
> > 3. main() should always end with a return statement.
> > 4. No parenthesis with return.  Use "return 0;" rather
> > than "return(0);"
> > 5. Always use -W -Wall when compiling a C program.
> > 6. The C compiler is called gcc, not cc.
> > 7. You didn't show the program compilation.
> > 8. You didn't show the program output.
> > 9. Please don't run vi with script.  The output is ...
> > interesting.  :)
> > ... (etc)
> > 
> > 4. High pass (good job!)
> > 3. Pass
> > 2. Low pass
> > 1. Please resubmit with corrections.
> > 0. No pass
> > 
> > 
> > i'm going to write a perl script that takes each mail
> > from the folder,
> > shows me the attachments, let's me input codes and sends
> > an email back
> > to the students indicating the comments and final grade. 
> > it'll also use
> > your perl script to strip the output of their script
> > session.
> > 
> > 
> > > Also, I would advise against changing the original
> > email... at 
> > > least save a copy of the incoming mail in raw form,
> > then apply the filter
> > > to a separate mail box...
> > 
> > absolutely!
> > 
> > thanks!
> > pete

-- 
Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.