[Surfraw-devel] quoting, more changes
Ian Beckwith
ianb@nessie.mcc.ac.uk
Thu, 5 Feb 2004 01:11:17 +0000
Hi all.
I've fixed the behaviour of quoting.
Problem:
It would be nice to be able to do (eg)
google swans "god damn the sun" lyrics
but surfraw eats the quotes before passing them to google. You can
use -q to quote the whole string, or backslash the quotes, but thats a
pain.
Solution:
For each arg, if it contains a character from IFS (ie it was
originally quoted), add double quotes round it.
It seems to work ok but could do with more testing.
I also made a bunch of small changes:
* Makefile.am: Added missing files to EXTRA_DIST
* Added a debconf note (only visible if upgrading from 2.0-1)
explaining the elvi have moved again.
* configure.in: changed to new AM_INIT_AUTOMAKE format,
specified minimum automake version 1.7
* updated surfraw.lsm with new URLs
Ian.
--
Ian Beckwith - ianb@nessie.mcc.ac.uk - http://nessie.mcc.ac.uk/~ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5 4814 40EC C154 A8BA C1EA
Listening to: Intermix - Future Primitives - Seeds of Harmony