Yes, I could do it, but as you can see there are variables. And using here-doc the substitution is done by os automatically. However using my own file, first the sentences would be an additional...
;) My god!! Before rewriting the code, I will try to convince my sysadmin one more time to develop a easy shell script to remove old sh* files from /tmp, I do not think that it takes more than one...
Yes, I have a here-doc, but I do not redirect nothing to /tmp, it is done by operating system (os) automatically. So, if the filename assigned already exist on /tmp the os aborts my shell script....
Hello vgersh99,
This is very interesting, but using here-documents I think that sh+pid file is allocated on /tmp automatically, so when system finds <<EOF the automatic allocation is done although...
:( Hello Perderabo,
First of all, thanks for your interest.
Yes, you are right, the filename consists of “sh” + pid, and the old filenames correspond to aborted process from operating system...
I am developer on solaris 8, I am using "here documents <<eof" but unfortunately I am having contention problems with /tmp directory because this facility tries to create a temporary...