On Sat, 27 Jun 2009, Sherlock Ric wrote:
> > From: bill lam
> > 
> > This is an alternative to lowercase outside dquote
> > 
> >    a=. 'Output Pdf "/tmp/Capital/Test Space.pdf" 100 100'
> >    (2|+/\'"'=a)}a,:~tolower a
> > output pdf "/tmp/Capital/Test Space.pdf" 100 100
> > 
> 
> Fine but not so good in this case because it will lowercase any filenames 
> that aren't dquoted:
>   b=.'Output Pdf /tmp/Capital/Testnospace.pdf 100 100'
>   (2|+/\'"'=b)}b,:~tolower b
> output pdf /tmp/capital/testnospace.pdf 100 100
> 

You are right.  Yet another simple 'fix' is to remove tolower and
expect users to provide correct case for options.


-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to