|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
How can I make povray accept a filename which has spaces it it? I've
tried anything from various quote types to using a bash variable to no
avail. Am I missing something?
Peter Popov
pet### [at] usanet
ICQ: 15002700
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Peter Popov wrote:
> How can I make povray accept a filename which has spaces it it? I've
> tried anything from various quote types to using a bash variable to no
> avail. Am I missing something?
No, on the contrary, I think everyone else has been missing something.
:-P Looks like a bug to me.
-Mark Gordon
Post a reply to this message
|
|
| |
| |
|
|
From: Nieminen Juha
Subject: Re: Unix povray and filenames with spaces
Date: 24 Jan 2000 04:28:06
Message: <388c1b26@news.povray.org>
|
|
|
| |
| |
|
|
It looks like a deliberately coded bug.
Usually you just use the argv[] value which is supposed to be the file
name. It doesn't matter if it has spaces or not.
If you want to make file names with spaces not to work, you would need to
have lots of trouble parsing the parameter to see if it has a space and to
split it into two parameters. So you need a lot more work to make it not to
work than just use it as is.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
From: Thorsten Froehlich
Subject: Re: Unix povray and filenames with spaces
Date: 24 Jan 2000 10:32:45
Message: <388c709d@news.povray.org>
|
|
|
| |
| |
|
|
In article <388c1b26@news.povray.org> , Nieminen Juha
<war### [at] punarastascstutfi> wrote:
> It looks like a deliberately coded bug.
> Usually you just use the argv[] value which is supposed to be the file
> name. It doesn't matter if it has spaces or not.
> If you want to make file names with spaces not to work, you would need to
> have lots of trouble parsing the parameter to see if it has a space and to
> split it into two parameters. So you need a lot more work to make it not to
> work than just use it as is.
Well, you just reuse the INI file parser which supports multiple switches
per line. Pass each argv[] as one line to that parser and it "works".
This bug is fixed in POV-Ray 3.5 using " or ' around strings.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ah, yet another feature is revealed... I wish you could put up a list of
what you've done so far... just a tidbit, anything... :)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
TonyB wrote:
>
> Ah, yet another feature is revealed... I wish you could put up a list of
> what you've done so far... just a tidbit, anything... :)
I think the fact that a majority of the features in MegaPov will be
in v3.5 should be enough for you for the time being :)
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |