[foxboro] AW70 Shell Script Issue
- From: "Weiss, Andreas" <Andreas.Weiss@xxxxxxxxxxxx>
- To: <foxboro@xxxxxxxxxxxxx>
- Date: Tue, 29 Apr 2008 05:38:07 -0500
Hi Scripting guys,
how can I workaround the following problem on a AW70 with MKS_VER=3D87 =
and
MKS Platform Components 9.x?
The problem is that I try to touch a file with a still existing and
locking file handle created by the rm command.
$ zulu.ksh
touch: zulu.ksh 11: file "/tmp/myfile.txt": Access is denied.
$=20
$ more zulu.ksh
#!/bin/ksh
HISTFILE=3D/tmp/myfile.txt
if [ -f $HISTFILE ]
then
rm -f $HISTFILE
fi
touch $HISTFILE
--
Regards,
Andreas
_______________________________________________________________________
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
- Follow-Ups:
- [foxboro] AW: AW70 Shell Script Issue
- From: dweinbrenner
- Re: [foxboro] AW70 Shell Script Issue
- From: Grumelart, Alain
Other related posts:
- » [foxboro] AW70 Shell Script Issue
- [foxboro] AW: AW70 Shell Script Issue
- From: dweinbrenner
- Re: [foxboro] AW70 Shell Script Issue
- From: Grumelart, Alain