Page 2 of 2
Umlaut
Posted: Fri Nov 15, 2002 10:17 am
by mark
A quick peek at the manual indicates that -U and -P set the userid and password for your password protected site. You just published those items to anyone reading the board. I've made the message private so others may no longer read it.
The gw command you provided is incomplete. Please provide the entirety of all gw and related commands used in your procedure.
Umlaut
Posted: Fri Nov 15, 2002 10:53 am
by ssc.blum
Ups, thank you!
Umlaut
Posted: Fri Nov 15, 2002 11:01 am
by ssc.blum
this is the whole command:
cat /tmp/deutsch.url|./bin/gw -k[\alnum\x00-\xFF]{2,30} -Uxxx -Pxxx -dDEUTSCH "&-"
in /tmp/deutsch.url is a list of all URLs like:
http://direct.com:8888/ds/Seite/12000.htm
http://direct.com:8888/ds/Seite/12001.htm
Umlaut
Posted: Fri Nov 15, 2002 12:07 pm
by mark
The shell is likely eating your backslashes. The expression needs to be quoted so the shell's command line processor does not mangle it. And you should have \x80-\xff not \x00-\xff. Also the cat is not needed. Just give the list to gw.
gw -k'[\alnum\x80-\xFF]{1,30}' -Uxxx -Pxxx -dDEUTSCH "&/tmp/deutsch.url"
Umlaut
Posted: Mon Nov 18, 2002 5:05 am
by ssc.blum
Great, it's working now. Thanks a lot!