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:
January 6: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2002 Oct 04 11:19

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



I was thinking that finding out how your instructor solves
a problem is a great way to learn.

-- Andy

--- Peter Jay Salzman <p@dirac.org> wrote:
> 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


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
_______________________________________________
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:
O'Reilly and Associates
For numerous book donations.