Search Results

Search: Posts Made By: Arkadia
3,090
Posted By Arkadia
Grep into a file + show following lines
Hi guys,
This is probably very easy but I've no idea how to pull this out.

Basically, I need to find errors into a very large logfile. When you grep the ID, the output is like this:

+- Type:...
12,252
Posted By Arkadia
When I need to do what you're trying to do, i use...
When I need to do what you're trying to do, i use this set of sets. Don't know which one is the right one, probably set serveroutput on.


set time on
set timing on
set echo on
set linesize...
4,444
Posted By Arkadia
I've been fidgeting around that syntax a bit, and...
I've been fidgeting around that syntax a bit, and it looks like it's spooling now. I don't know how, I just altered a few things and got rid of the "Stupid use of cat" :D but apparently that was...
4,444
Posted By Arkadia
Sure. Step1, extract an ID and put it in the...
Sure.

Step1, extract an ID and put it in the result file.
Step2, read that file and use that record to run the .sql, then delete the result file.
Step3, repeat until while cycle ends.

At the...
4,444
Posted By Arkadia
Yes, the "spool" would be the result.txt, sorry...
Yes, the "spool" would be the result.txt, sorry for the mislead :P
I remove it because of the second function doCSVSQL. Since it's another SQL file it doesn't go well with multiple records, so I...
4,444
Posted By Arkadia
Hi Scott Yep :( I tried only the SQL bit and...
Hi Scott
Yep :(
I tried only the SQL bit and it spooled just fine.
4,444
Posted By Arkadia
Script not spooling in result file
Hi everyone and nice to meet you :)

I'm having some issues with a script I'm writing.
It's probably most chaotic, I'm no ksh guru, but the idea is to extract an ID with that query, spool it into...
Showing results 1 to 7 of 7

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