[vox-tech] newbie annoyed with tin

Samuel Merritt vox-tech@lists.lugod.org
Thu, 30 Jan 2003 20:21:20 -0800


--Qgd2S+2VS1hsWwXW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
> >=20
> > #!bin/bash

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

--=20
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/p=
gp/

--Qgd2S+2VS1hsWwXW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+OfnAW3tuPJ1t7wURAo4qAJ4igj11s6F2PgEmZIOSOplIfOcKdgCff7cG
rbHgqLXM9L7QNlf9q9hTh0k=
=1ylX
-----END PGP SIGNATURE-----

--Qgd2S+2VS1hsWwXW--