> ---ORIGINAL MESSAGE--- 
> Date: Thu, 30 Jan 2003 20:09:05 -0800
> From: Bill Kendrick <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [vox-tech] newbie annoyed with tin
> Reply-To: [EMAIL PROTECTED]
> 
> On Thu, Jan 30, 2003 at 08:04:25PM -0800, Katie wrote:
> > 
> > #!bin/bash
> > echo qy | lynx "https://secureweb.ucdavis.edu:443/cgi-auth/sendback?";;
> > "http://email.ucdavis.edu/news/news-succeed.html";;
> > -force_secure -accept_all_cookies -auth="login:password" > /dev/null
> > 
> 
> Oops - Yes, indeed.  The ";"s tell the shell that the next thing is another
> command.  Kind of like:

> 
> What I think you want are "\" (back-slashes), which tell the shell
> 'the stuff on the following line should be considered to be part of this
> one single command (or set of commands)'.
> 

It had backslashes (and no semicolons) when I first posted it. I can't 
figure out why the mailer mangled it.

(In the script on my computer, everything was on one line, I added the 
backslashes so make it acceptable for someone to read in their email.)

On second thought, I just found another big oops: both of the URLs are
supposed to be passed to lynx as one parameter. I don't think that
happens when it is broken in the middle. Please remove everything in
your copy of the script that starts with the last quotation mark on the
first line and ends with the first quotation mark on the second line,
including the linebreak.

-- 
PGP/GPG Fingerprint: D5E2 8839 6ED3 3305 805C  941F 9476 A9BD E2B2 CAD1
Import with `gpg --keyserver pgp.mit.edu --recv-key E2B2CAD1`
Also on www: http://wwwcsif.cs.ucdavis.edu/~bloom/kabloom.asc
For more information about PGP and GPG, see http://www.gnupg.org/

Attachment: msg04251/pgp00000.pgp
Description: PGP signature

Reply via email to