Overview
Comment:More arg stuff
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 8dc8d52b1f8dc5dcc29f7b9760b8f4c2eb7f4152e2a9a0a49885f95cdf44a62a
User & Date: gawthrop@users.sourceforge.net on 2003-08-19 13:10:47
Other Links: branch diff | manifest | tags
Context
2003-08-19
13:12:03
Change test for "new" cr check-in: c0023f66cd user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:10:47
More arg stuff check-in: 8dc8d52b1f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:09:48
Debugging -still wrong check-in: d02835d435 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/rep_txt2tex from [cc214b0710] to [17d116e471].

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 = "";


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]