stuart wrote:
> I need to pass words(names) with apostrophes to SWISH-E such as
> O'Rourke.
I tried something similar to your
$input = qq|"O'Rourke"|;
in my cgi script and it worked fine for me.
Here's something else to try: Escape the apostrophes with backslashes
before sending to SWISH-E, like this:
$input =~ s/\'/\\\'/g;
In fact, using
swish-e -w O\'Rourke
on the command line works fine.
After reading your message, I experimented with
$input =~ s/(.*)/"$1"/;
which also works. Good luck!
--
Gordon K. Lai - Software Engineer
UCSF Library and
Center for Knowledge Management
Received on Thu Apr 30 15:48:15 1998