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:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2003 Jan 30 21:22

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] newbie annoyed with tin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] newbie annoyed with tin



On Thu, Jan 30, 2003 at 08:09:05PM -0800, Bill Kendrick wrote:
> On Thu, Jan 30, 2003 at 08:04:25PM -0800, Katie wrote:
> > 
> > #!bin/bash

In addition to Bill's remarks below, this line needs to be 
#!/bin/bash
That is, an absolute path (starts with slash) rather than a relative
one.

> > 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
> > 
> > That's what's in my first attempt at a shell script.  Did I make a boo-boo
> > somewhere?
> 
> Oops - Yes, indeed.  The ";"s tell the shell that the next thing is another
> command.  Kind of like:
> 
>   clear ; ls
> 
> ... will first clear your terminal screen, and then show you a directory
> listing...
> 
> 
> 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)'.
> 
> e.g., a "\" at the end of a line pretty much nullifies the RETURN-carriage
> ("end of line" character) that comes after it.
> 
> So you can do something like:
> 
>   ls \
>   -l
> 
> and it's the same as:
> 
>   ls -l
> 
> :^)
> 
> 
> <snip>
> > PS - I removed my login stuff, just like you told me to Bill.  I'm a good
> > girl.  I listen. :-)
> 
> Hehe :)
> 
> Let us know if that works for you!
> 
> -bill!
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

-- 
Samuel Merritt
OpenPGP key is at http://meat.andcheese.org/~spam/spam_at_andcheese_dot_org.asc
Information about PGP can be found at http://www.mindspring.com/~aegreene/pgp/

Attachment: pgp00017.pgp
Description: PGP signature



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.