Page 1 of 1

-P option

Posted: Tue Feb 23, 1999 10:17 am
by Thunderstone


Hi,

I need to use the -P option to enter in a password, but the password has
a $ in it and I think it's messing it up. I get the error message:

Undefined variable.

Is there a way to make the -P option take whatever argument I want and
not try and interpret it?

And BTW - You're site seems to be wrong for the -P doc:

-----------------------------
Set login password (-S)

Syntax: -PPASS

Use PASS as the user password when accessing protected HTML pages. The
default is to skip protected
pages.
-----------------------------

it's -P, isn't it?

Thanks,
Ali






-P option

Posted: Tue Feb 23, 1999 10:50 am
by Thunderstone


$, among other characters, is special to the unix shell. Use single quotes
around your password

-P'pass$word'


yes. the title of that page was wrong and has been fixed. thanks for
letting us know.