Search Results

Search: Posts Made By: nicksantos1
2,310
Posted By nicksantos1
Wow, thanks a lot. This works, although I have...
Wow, thanks a lot. This works, although I have no idea how. You converted 30 lines of script into 1. Some of the values are off by .5 or something but it's not a big deal, it's close enough.
2,310
Posted By nicksantos1
Sorry, by instance I mean occurrence of a given...
Sorry, by instance I mean occurrence of a given method name. The method names are the words after "DEBUG" and before "Start". So in the snippet I provided, "docTypeCheck(WkfltgDecision decision,...
2,310
Posted By nicksantos1
The log file that is being parsed looks like...
The log file that is being parsed looks like this:

2012-03-28 00:00:33,849 [ORB.thread.pool : 0] DEBUG - getWkfltgDecision|Start|.EntityToDomainConverter|1332907233849|1332907233849|0
2012-03-28...
2,310
Posted By nicksantos1
This works, thanks. I'm not sure if arrays...
This works, thanks.

I'm not sure if arrays are the best data structure for this problem.
I'm trying to store the name, accumulative transaction time, and # of occurrences of thousands of methods...
2,310
Posted By nicksantos1
Sorry about that. I'm on AIX and using KSH. ...
Sorry about that. I'm on AIX and using KSH.

I'm just trying to update the index of an array on this line

eval \${array$c[2]}=$(eval \${array$c[1]}+1)
2,310
Posted By nicksantos1
Modifying the values of dynamically named arrays
Hi all,

In ksh, I'm trying to loop through all of my arrays, named array1, array2, array3..., and update the indices. But I'm getting errors and I'm not sure how to fix them. The errors are

...
1,581
Posted By nicksantos1
:wall: It's the name of the original script....
:wall:

It's the name of the original script. Forgot to change it after copying. That was the issue, it's working now. Thanks for the help.
1,581
Posted By nicksantos1
I copied the file to the same directory as the...
I copied the file to the same directory as the original script.

---------- Post updated at 02:35 PM ---------- Previous update was at 02:29 PM ----------



Thanks. BASEDIR is a relative path...
1,581
Posted By nicksantos1
Script stops working after copying it
Hi all,

When I cp a script, this section of the code stops reading from a file.


if [ -f ${BASEDIR}test.conf ]; then
while read dirtoclean
do
DIRSTOCLEAN=${DIRSTOCLEAN}'...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 01:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy