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:
November 4: Social gathering
Next Installfest:
TBD
Latest News:
Oct. 10: LUGOD Installfests coming again soon
Page last updated:
2003 Jan 30 20:23

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: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
> 
> 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



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:
Sunset Systems
Who graciously hosts our website & mailing lists!