Search Results

Search: Posts Made By: hitmansilentass
1,597
Posted By hitmansilentass
Well, my current plan is to flag for manual...
Well, my current plan is to flag for manual intervention if there is something that is not adhering to the standard templates. I have thousands of sql's with most of the with the standard structure....
1,597
Posted By hitmansilentass
Well, the sql parser I am not able to understand...
Well, the sql parser I am not able to understand much with the java code or the instructions. However, I found this link (http://goldparser.org/about/changes-in-5.htm) but couldn't implement it as it...
1,597
Posted By hitmansilentass
Regular expression to validate sql's
Hi,

I have 2 different templates of sql's in a single file. From each sql I am trying to extract different segments of the sql's.
Please note that the number of fields and conditions would vary...
4,185
Posted By hitmansilentass
SQL Parser
Hi,

I have been assigned a task to migrate few thousands of sql scripts to a different db format. there could be sub queries and complex joins. there would be functions that needs to be replaced...
3,208
Posted By hitmansilentass
Thanks Scot for all your help :)
Thanks Scot for all your help :)
3,208
Posted By hitmansilentass
I did. but still its not reading the second v...
I did. but still its not reading the second v flag.
3,208
Posted By hitmansilentass
Thanks guy's. I just figured the issue. the code...
Thanks guy's. I just figured the issue. the code was within a function hence it was not capturing the values. anyway, I am getting another issue now that its not capturing second flag values. do you...
3,208
Posted By hitmansilentass
I understand that. but my point is its not even...
I understand that. but my point is its not even getting into the while loop and not displaying the echo statement.
3,208
Posted By hitmansilentass
Getopts in the subshell of ksh
Hi,

the getopts doesnt seem to be working in the subshell of the ksh. when I echo $@ and $* from the subshell it shows nothing. even when I am capturing the parameters from the outer shell and...
2,008
Posted By hitmansilentass
That was really dumb of me. may be I was a...
That was really dumb of me.

may be I was a bit tired to notice the obvious. Anyway, that was a quick and great help. Thanks!!
2,008
Posted By hitmansilentass
2 dollars wrapped to a string
Hi,

I am writing an awk script and I have got stuck. I am trying to find a word that has 2 dollar signs in it but its failing. I have already tried to escape it with single and double back slash...
4,662
Posted By hitmansilentass
Thanks for the replies!!!! Zaxxon - getting...
Thanks for the replies!!!!

Zaxxon - getting the error message awk: 0602-575 Cannot find or open file file_.

expected output files would be 2 tables will be placed in each file and 5 different...
4,662
Posted By hitmansilentass
split file based on group count
Hi,

can some one please help me to split the file based on groups.

like in the below scenario x indicates the begining of the group and the file should be split each with 2 groups below there...
2,518
Posted By hitmansilentass
Thank you all for all the responses. I wasn't...
Thank you all for all the responses. I wasn't able to think one and you have so many back of your mind(reminds me how much more I need to learn).

well, is there a way I can parse the fields for...
2,518
Posted By hitmansilentass
thanks for the reply. It is working...
thanks for the reply.

It is working perfectly fine. However, it is failing when there are alphanumeric fields
2,518
Posted By hitmansilentass
find the last word with all numbers?
Hi,

I was trying to extract the last word with all numbers using awk. like the below example. I am looking for a pattern using awk.



desired result:
2,935
Posted By hitmansilentass
Convert into C program
Hi,

in this forum I was able to find a logic written by perderabo to write packed decimals. the code works fine. However, I would want to convert it to a c program. so as to do that I am not able...
8,698
Posted By hitmansilentass
determine if the script has been invoked manually or not?
Hi,

Is there a way to determine if the script has been invoked manually or not( might be invoked by a schedular or crontab)?

Thanks,
10,912
Posted By hitmansilentass
it is working fine when it is starting with...
it is working fine when it is starting with spaces(as it has been shown in the example). for instance before the line "From previous run" there are spaces while in actual scenario there is one tab....
10,912
Posted By hitmansilentass
it is not filtering any of the rows at all
it is not filtering any of the rows at all
10,912
Posted By hitmansilentass
That didnt work either. anyways, could any one of...
That didnt work either. anyways, could any one of you please explain me the code of radoulov
10,912
Posted By hitmansilentass
Yes i tried that but that doesnt work for me on...
Yes i tried that but that doesnt work for me on my AIX.

Aigles, Could you please let me know how am i suppose to run your script??? I mean how do i pass the data to the awk script????? and also,...
10,912
Posted By hitmansilentass
Thanks a lot - that worked like a charm!!!
Thanks a lot - that worked like a charm!!!
10,912
Posted By hitmansilentass
I dont have python. the initial tabs are...
I dont have python.

the initial tabs are removed when i try to copy paste in the forum. anyways, I have put the indent now(its tabs in the places of indents). THis gives more clear picture. is...
10,912
Posted By hitmansilentass
well, in the message section there are tabs at...
well, in the message section there are tabs at the first position which i am not able to display here.
Showing results 1 to 25 of 54

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