Search Results

Search: Posts Made By: ForestRun
4,256
Posted By ForestRun
I think the script keep waiting for the "Last...
I think the script keep waiting for the "Last login" pattern. But it cannot find it.
did you try running autoexpect with the -p flag?
4,256
Posted By ForestRun
What happen? Does it hang there? ----------...
What happen? Does it hang there?

---------- Post updated at 05:39 PM ---------- Previous update was at 05:36 PM ----------

Try rerunning auto expect with the -p flag.
4,256
Posted By ForestRun
You have to use autoexpect first. This will...
You have to use autoexpect first. This will record what you do, but the catch is: do not make any mistakes! Then to finish....press control + D... and save the generated exp file.

For more info:...
4,161
Posted By ForestRun
I have no problem getting the output based on...
I have no problem getting the output based on Scrutinizer suggestion:

awk -F, '{A[$3","$4]+=$2} END{for (i in A) print A[i]","i}' input
22,beta,5
16,gamma,3
11,alpha,4
15,139
Posted By ForestRun
Refer to this: Awk sort...
Refer to this:
Awk sort (http://www.computing.net/answers/programming/awk-sort/18749.html)
15,139
Posted By ForestRun
My advice is to use the unix sort which is by far...
My advice is to use the unix sort which is by far simpler.
To do a awk sort, you would need to write a sort function which is not elegant
4,256
Posted By ForestRun
Try autoexpect sqlplus ---------- Post...
Try autoexpect sqlplus

---------- Post updated 04-23-10 at 09:18 AM ---------- Previous update was 04-22-10 at 06:12 PM ----------

Did you manage to do it?
4,256
Posted By ForestRun
sql loader?
sql loader?
Showing results 1 to 8 of 8

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