10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.3 2002/05/01 14:07:05 gawthrop
## Added -dr foo (reads files from foo) dir.
##
## Revision 1.2 2002/04/28 18:55:03 geraint
## Fixed [ 549658 ] awk should be gawk.
## Replaced calls to awk with call to gawk.
##
|
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.4 2002/05/09 16:07:54 gawthrop
## Now handles multiple options whis .tex files as well
##
## Revision 1.3 2002/05/01 14:07:05 gawthrop
## Added -dr foo (reads files from foo) dir.
##
## Revision 1.2 2002/04/28 18:55:03 geraint
## Fixed [ 549658 ] awk should be gawk.
## Replaced calls to awk with call to gawk.
##
|
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
quote = "\047";
args = gensub(quote, "", "g", args);
args = gensub(/"/, "", "g", args);
# args = substr(Args,2,length(Args)-2);
# if ( (length(Args)>0)&&(match(Multiple,Representation)>0)) {
if ( (length(args)>0)&&(match(Language,"ps")>0)) {
_Args = sprintf("-%s", args);
__Args = sprintf("-%s", gensub(/_/, "-", "g", args) );
___Args = sprintf("-%s", gensub(/,/, "-", "g", args) );
}
else
{
_Args = "";
__Args = "";
___Args = "";
|
|
|
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
quote = "\047";
args = gensub(quote, "", "g", args);
args = gensub(/"/, "", "g", args);
# args = substr(Args,2,length(Args)-2);
# if ( (length(Args)>0)&&(match(Multiple,Representation)>0)) {
if ( (length(args)>0)&&(match(Language,"ps")>0)) {
_Args = sprintf("-%s", args);
__Args = sprintf("-%s", gensub(/_/, "_", "g", args) );
___Args = sprintf("-%s", gensub(/,/, "-", "g", args) );
}
else
{
_Args = "";
__Args = "";
___Args = "";
|