On 3/21/07, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
I regularly agree to a certain Terms of Use. The first time I did it, I
was in a hurry and didn't do my normal review of it. What I did instead
was to click-n-drag to highlight the whole thing, opened an editor,
middle-clicked (to paste), and saved it (calling it eula).
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?").
Here's my question: Is there a way that I can (after I highlight the
entire text of the Terms of Use, as currently displayed) compare the
contents of the clipboard (or whatever the appropriate name) directly to
the file "eula"?
Use a different editor? Don't use an editor at all?
$ cat > fula # cursor advances to next line, you paste from
the clipboard and
# type <enter> <ctrl-D>
$
carl
--
carl lowenstein marine physical lab u.c. san diego
[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list