9 |
|
|
10 |
|
#include "copyright.h" |
11 |
|
|
12 |
< |
#include "standard.h" |
13 |
< |
|
12 |
> |
#include "rtio.h" |
13 |
|
#include "view.h" |
14 |
|
|
16 |
– |
#include "paths.h" |
15 |
|
|
16 |
|
#define FEQ(x,y) (fabs((x)-(y)) <= FTINY) |
17 |
|
#define VEQ(v,w) (FEQ((v)[0],(w)[0]) && FEQ((v)[1],(w)[1]) \ |
392 |
|
int na; |
393 |
|
int nvopts = 0; |
394 |
|
|
395 |
< |
while (*s && *s != ' ') |
395 |
> |
while (*s == ' ') |
396 |
|
s++; |
397 |
+ |
if (*s != '-') |
398 |
+ |
s = sskip2(s,1); |
399 |
|
while (*s) { |
400 |
|
ac = 0; |
401 |
|
do { |
402 |
< |
av[ac++] = s; |
402 |
> |
if (ac || *s == '-') |
403 |
> |
av[ac++] = s; |
404 |
|
while (*s && *s != ' ') |
405 |
|
s++; |
406 |
|
while (*s == ' ') |
490 |
|
isview(s) /* is this a view string? */ |
491 |
|
char *s; |
492 |
|
{ |
493 |
< |
static char *altname[]={NULL,VIEWSTR,"rpict","rview","pinterp",NULL}; |
493 |
> |
static char *altname[]={NULL,VIEWSTR,"rpict","rvu","rpiece","pinterp",NULL}; |
494 |
|
extern char *progname; |
495 |
|
register char *cp; |
496 |
|
register char **an; |