I have a main.ksh that executes a perl script and which in turn spawns child ksh processes and awk scripts. I have main.ksh in crontab to run every 10 mins.
Is there a way to make sure that neither an earlier version of main.ksh or ANY OF ITS CHILD PROCESSES are running when crontab starts...
I have a text file with contents as follows that will be loaded into a database table:
600193439^_600076830^_600193439^_2^^
600193430^_600076827^_600193430^_6^^
600192222^_600076830^_600191112^_2^^
600333333^_600076830^_600193111^_2^^
...
...
The table has columns 2 and 4 as the primary keys...
Simple question...
* I have a a.tar.Z compressed file in directory A.
* I want to uncompress and untar the files in a.tar.Z and put them in directory B.
Is there a more efficient way than doing it in 3 steps...
- cp A/a.tar.Z B/.
- uncompress B/a.tar.Z
- tar -xvf B/a.tar
Thanks for your help.
Hi everybody,
I have a file (a.dat) with the following data in it :
10/17/2003^F^555555^F^333^F^HELLO^F^04-15-2003^R^
10/17/2003^F^444444^F^11^F^^F^09-15-2003^R^
10/17/2003^F^555555^F^333^F^WATER^F^04-15-2003^R^
10/17/2003^F^^F^333^F^FIRE^F^04-15-2003^R^...
Hi everybody,
I have a file (a.dat) with the following data in it :
10/17/2003^F^555555^F^333^F^HELLO^F^04-15-2003^R^
10/17/2003^F^444444^F^11^F^^F^09-15-2003^R^
10/17/2003^F^555555^F^333^F^WATER^F^04-15-2003^R^
10/17/2003^F^^F^333^F^FIRE^F^04-15-2003^R^...
I have a button and everytime the button is clicked I need to pass a string variable to the next jsp page. Can you please help me with a script for this :
<INPUT type="button" value="Edit" onClick="????">
Thanks for you help in advance.
Simple awk/sed question.
My input file is as follows :
abc
ddfdf
fjjjjj
dffdff
I need to insert a ' at the beginning of each line and insert ', at the end of each line. So the output should look like
'abc',
'ddfdf',
'fjjjjj',
'dffdff,
Thanks in advance for your help.
I am calling the template PrintFullMessage as follows :
<xsl:call-template name="PrintFullMessage">
<xsl:with-param name="mIDParam" select="$mID"/>
<xsl:with-param name="mPosParam" select="$mPos2"/>
<xsl:with-param...
Hi all, I am having a wierd problem here.
I have declared a public variable in my General Declarations section as
Public gdata_model_name As String
I am not able to access this variable in any form other than the one in which it is declared.
Does anyone know what I am missing here ?
Thanks...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.