Just wondering who will be the first to spot the obvious mistake
(i.e. what happens if the file spec contains a space AND a shell
meta-character)...
I will re-instate the previous version of rec1_get_path.c and modify
rec1_find_file.c instead.
David
On Fri, 3 Mar 2006, David Berry wrote:
> Tim,
> I think I've sorted this. I've modified two files:
>
> 1) one_find_file.c : It now escapes any spaces in the template file name
> when constructing the "ls" command line.
>
> 2) rec1_get_path.c : It no longer tries to expand filenames containing
> spaces.
>
> These two changes result in both cupid and kappa accepting file names
> containig spaces.
>
> > Interestingly, KAPPA doesn't have a problem:
>
> Don't understand this since kappa uses lpg which uses ndg which uses
> one_find_file which needed fixing...
>
>
> David
>
|