I had to add a ';' to each line in a file. In vi (unix editor) one would do:
1,$s/$/;/
In the GAMS IDE this works slightly different:
replace:  .*$
by:       $0;
As an aside: the equivalent of 1,$s/^/;/ is not obvious to me (there may be an issue here if we use ;$0 as replacement string).
 
 
No comments:
Post a Comment