<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Shay,<br>
It's easier if you do it in a grad script.<br>
<a class="moz-txt-link-freetext" href="http://www.iges.org/grads/gadoc/script.html">http://www.iges.org/grads/gadoc/script.html</a><br>
<br>
*open file1<br>
'open .file1.ctl'<br>
*open file2<br>
'open .file2.ctl'<br>
*open file3<br>
'open .file3.ctl'<br>
d u<br>
d v<br>
d u.2 //this handles file 2 etc<br>
d v.2<br>
d u.3<br>
d v.3<br>
you can also use a loop to open all the files, but if you only have a
few this will work <br>
<br>
Tatiana<br>
<br>
On 12/10/2010 10:13 AM, shay barner wrote:
<blockquote
cite="mid:AANLkTim5q6bG3urfJ3OQJPrCQ71_1mfHL2VuXfYUznTD@mail.gmail.com"
type="cite">
<div dir="ltr">Hi!<br>
<br>
I have multiple ctl files (700!) and I want to run the same command
over all these files.<br>
<br>
For each file I want to run: <br>
open filename<br>
d u<br>
d v<br>
<br>
I am not very experienced with Linux and Grads...<br>
how can I do this in a sctipt? What are the commands?<br>
<br>
Thanks!<br>
Shay.<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>