[foxboro] Script to run d_edit




Guys,
I am looking for a script that will run d_edit on for dm.
Tried the following and I get permission denied errors and then told that
the display is not a file.
Any help will be greatly appreciated and if someone knows if it is in the
achieves please let me know.

for x in $*
do
      if [-f $x]
            then
                  /usr/fox/wp/bin/tools/d_edit -dump $x
                  textedit $x.dmp
                  /usr/fox/wp/bin/tools/d_edit -upload $x
                        rm $x.dmp
                  else
                        echo $x is Not a file!!!!
                  fi
done

I tried all of the chmod commands that I could find and an ls -l on the
file returns -rwxrwxrw-
Thanks for the help!


T.L. Brazell
Senior Process Control Analyst
Cell       806-898-4340
Office   806-275-5274
Home   806-935-7281
tlbrazell@xxxxxxxxxxxxxxx
*******************************************************
Remember that each of us can choose
to make a difference!
*******************************************************

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: