On 3/21/07, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
Each day, I'm required to agree to the same Terms of Use.  At least I
want to make sure that it is the same.  So what I do each time is
highlight the entire text of it, open the editor, paste it, and save it
as fula.  I wrote a simple bash script to compare the two files, and
another simple bash script to delete fula (so that the next time I tell
the editor to save as fula, it doesn't ask me "Are you nutz?  Are you
*sure* you want to over write the one you already have?").


If the terms are always at the same url, you could automate the
process by using wget or curl in your script to get the file.  You may
even be able to use the HTTP builtin modification detection mechanisms
instead of a diff (for example, see the curl -z flag), if that suits
your needs.

-- Rick


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to