Search Results

Search: Posts Made By: ManoharMa
1,605
Posted By ManoharMa
Pythonic Parsing
Experts and All,

Hello !

I am trying to fabricate a simple shell script in python that has taken me almost 5 hours to complete. I am using python 3.6.

So, I am trying to read a file, parse...
1,472
Posted By ManoharMa
RudiC, I am not a regular unix user and as...
RudiC,

I am not a regular unix user and as and when I find interesting issues that my wife finds me to help her with, I try and fail and come and ask you folks.

You guys are keeping a very nice...
1,472
Posted By ManoharMa
RavinderSingh13 and RudiC, I can't be...
RavinderSingh13 and RudiC,

I can't be thankful enough for trying to help me here. Maybe I am not being clear enough.

so, here is what the input -

Code:

35818 -stress - - ...
1,472
Posted By ManoharMa
Remove string between number and character
hello !

I have to remove string between a number and set of characters. For example,

35818 -stress - - -stress - - - - - - DB-3754
44412 caul kid notify DB-3747
54432 ...
1,186
Posted By ManoharMa
rbatte1, thanks a bunch for taking time and...
rbatte1, thanks a bunch for taking time and writing back to me on this. Let me try my way around this here...
1,186
Posted By ManoharMa
Direct read / load
Guys,

I wrote a script to do the following -


Read a file that is placed into a directory and depending upon the contents, load into one or multiple tables into Oracle.
After the file is...
2,702
Posted By ManoharMa
elixir_sinari, Can u please explain this to...
elixir_sinari,

Can u please explain this to me as to what exactly are you doing here as this bit as this is working finally....

Now, the bigger question...why cant we do this using SED ? I got...
2,702
Posted By ManoharMa
I presumed that you understood what needs to be...
I presumed that you understood what needs to be done in here ... Anyway, let me rehash as to what is needed .... sorry if this wasnt clear to begin with...

Lets look at first ROW, the first...
2,702
Posted By ManoharMa
Hi Everyone, For some strange reason, I cant...
Hi Everyone,

For some strange reason, I cant seem to get an answer on a topic that pales in comparison with some of the tough questions that have been posed here.

At any rate, after mucking...
2,702
Posted By ManoharMa
elixir_sinari, Thanks for taking time and...
elixir_sinari,

Thanks for taking time and addressing my issue.

I dont like to say this but it is still not working. I am not sure as to why.

regards,
Manohar.



/Users/ManoharChandran...
2,702
Posted By ManoharMa
Chubler_XL, Sorry, even escaping the...
Chubler_XL,

Sorry, even escaping the brackets didnt do the trick ... here it is

/Users/ManoharChandran 10:33:43 $cat NEWOUTPUT | grep 'INSERT' | cut -f 5- | awk '{print $2=$3=$4=""}1' | awk...
2,702
Posted By ManoharMa
Chubler_XL, At the outset, let me express my...
Chubler_XL,

At the outset, let me express my heartfelt thanks in addressing my issue.

Unfortunately this is erroring out as follows & I tried to muck with it but I dont understand what you...
2,702
Posted By ManoharMa
Regex to Parse data
Experts and Informed folks,

Need some help here in parsing the log file.

1389675 Opera_ShirtCatalog INSERT INTO Opera_ShirtCatalog(COL1, COL2) VALUES (1, 'TEST1'), (2,'TEST2');...
2,498
Posted By ManoharMa
in2nix4life, Yes, I needed all these...
in2nix4life,

Yes, I needed all these commands to get it to the current state where in, all I am left with is, to finally move in the first set of numbers as a last value before closing the...
2,498
Posted By ManoharMa
in2nix4life, I just dont like to say this...
in2nix4life,

I just dont like to say this but Its not doing anything.No errors no action output is just the same as ever before ....
:wall:


/Users/ManoharChandran/MOVER 18:03:43 $cat...
2,498
Posted By ManoharMa
Its a regular mysql log file and I am running...
Its a regular mysql log file and I am running bash. Also I did happen to mention early in my post that I am looking for awk/sed based solution as I dont understand PERL. Also, This is not the...
2,498
Posted By ManoharMa
in2nix4life, Thank you for extending your...
in2nix4life,

Thank you for extending your arms in helping me. First, I dont understand PERL and second, its not moving that at all...

Any sed / awk based answer is requested from you.
...
2,498
Posted By ManoharMa
Fpmurphy, At the outset thanks for posting...
Fpmurphy,

At the outset thanks for posting reply. Sorry for not being clear at the outset.

In the input file, the first column is the value that I need to be moved inside the paranthesis after...
2,498
Posted By ManoharMa
Moving columns around
This is a mysql night mare that I cant seem to wrap my head around. Any shell based answers is appreciated as I dont know Perl and all I would do would be blindly copy & paste !

FILE CONTENTS -...
1,152
Posted By ManoharMa
Agama & Balajesuri, Both of your solutions...
Agama & Balajesuri,

Both of your solutions worked just fine and Im quite thankful for them.

Im using the sed equivalent as I dont know perl and I just started getting my feet wet in Unix.
...
1,152
Posted By ManoharMa
Help with regular expression
Hi All,

Need some help with a regular expression that I cant seem to work on. Say there is the following text -

Input
We all (need some) help some day (ps: when it rains) and I need to save...
2,105
Posted By ManoharMa
anchal_khare, I got it the moment I posted...
anchal_khare,

I got it the moment I posted reply to my question. That is so nice that you are helping me out here. Thank you and thank you.
I have a bigger question now. So, now this would just...
2,105
Posted By ManoharMa
anchal_khare, Thanks a ton for the reply. ...
anchal_khare,

Thanks a ton for the reply.

Yes, it is doing it but I had to obfuscate some of the underlying stuff in here for obvious reasons of confidentiality and hence its not fetching the...
2,105
Posted By ManoharMa
Parsing XML
Learned People,

Hello !

Till today, for the most part, all of the tricky questions/situations that I encountered were already posted by other folks and all I had to do was peruse through these...
2,112
Posted By ManoharMa
Mirni, Quite thankful on your well...
Mirni,

Quite thankful on your well understood & quite thoughtful answer/reply.

I shall try to follow your lead here and see what I can come up with.

Yes, Im using Bash for all future...
Showing results 1 to 25 of 28

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