Search Results

Search: Posts Made By: galaxy_rocky
1,754
Posted By galaxy_rocky
@Don Cragun : My sincere apologies for the...
@Don Cragun : My sincere apologies for the confusion about the requirement !
The reason i gave the file name containing email address is, that is the way the shell script is set up [by the clients]...
1,754
Posted By galaxy_rocky
@Don Cragun : As i mentioned in my requirement, i...
@Don Cragun : As i mentioned in my requirement, i want asdf@blh.com in one group; and the remaining id's in other group.

@RudiC : Thanks for your input.

Regards,
1,754
Posted By galaxy_rocky
Thanks RavinderSingh13 and Scrutinizer. Will try...
Thanks RavinderSingh13 and Scrutinizer. Will try the approaches suggested by you and update.

Hi RudiC, sorry for the typo error... but my input file is like below


emailid1@blh.com...
1,754
Posted By galaxy_rocky
Split fields from a file
Hi All,

I have a file where a list of email id's are stored [seperated by space] as shown below:


emailid1@blh.com emaild2@blh.com asdf@blah.com emailid3@blh.com


In my shell script, i...
19,470
Posted By galaxy_rocky
Thank you all for the replies.. this solved my...
Thank you all for the replies.. this solved my issue :)
Thanks once again for your valuable time....

Regards,

---------- Post updated at 01:50 AM ---------- Previous update was at 01:49 AM...
19,470
Posted By galaxy_rocky
Split file based on a column/field value
Hi All,

I have a requirement to split file into 2 sets of file. Below is a sample data of the file


AU;PTN;24EX;25-AUG-14;AU;123;SE;123;Test NN;;;;ASD;...
5,625
Posted By galaxy_rocky
Hi CarloM and ygemici !! You guys are amazing...
Hi CarloM and ygemici !! You guys are amazing geniuses !!! Your suggestions worked for me... thanks a lot both of u !! :)

Regards,
5,625
Posted By galaxy_rocky
Hi ygemici, $1F is the first field from the...
Hi ygemici,

$1F is the first field from the first line of the input file. Similarly $2F is the the second field from the first line of input file. This should loop for all the lines in the input...
5,625
Posted By galaxy_rocky
Hi ygemici, I am trying to implement your...
Hi ygemici, I am trying to implement your suggestions and i have made couple of changes to my script to use while loop and read from file.
But i am stuck in the below section:

cat...
5,625
Posted By galaxy_rocky
sed cannot execute [Argument list too long]
Hi All,

This question has been asked many times, but my problem is slightly different.

In my shell script i am connecting to oracle database and loading the results to .dat file. This .dat...
1,331
Posted By galaxy_rocky
Last date of month based on parameter
Hi All,

How do i get the last date of a month in Unix based on a parameter value.

My requirement is if i pass 03/05/2014[5-MAR-2014] as parameter, then i shud get the output/return value as...
1,726
Posted By galaxy_rocky
Thanks bartus11 and Akshay Hegde.. both solutions...
Thanks bartus11 and Akshay Hegde.. both solutions worked :)
1,726
Posted By galaxy_rocky
Find and replace in xml
Hi All,

My XML file looks like below:


<logEvent xsi:type="logservice:LogEvent" timestamp="1394713811052" severity="3" messageCode="TM_6228" message="Writing session output to log file ."...
1,423
Posted By galaxy_rocky
Hi Scrutinizer, Yes you are correct. The...
Hi Scrutinizer,

Yes you are correct. The date was in milliseconds. And your solution worked perfectly ! Thank you :)
1,423
Posted By galaxy_rocky
Problem with epoch time
Hi All,

I have a weird problem. I have a session log which is in .bin format. I am converting the .bin file to xml format using Informatica(it is an ETL tool) and unix functionality called...
5,717
Posted By galaxy_rocky
Guys, another quick question.. Is it...
Guys, another quick question..

Is it possible to parameterize the directory structure path before passing it to ssh command?

Like Below:


SHARE_PATH=directory/structure
...
5,717
Posted By galaxy_rocky
Thanks a lot for helping out on this Klashxx ! ...
Thanks a lot for helping out on this Klashxx !

It worked !!!
5,717
Posted By galaxy_rocky
Hi Klashxx, I tried ur option. ...
Hi Klashxx,

I tried ur option.


file_avail=`ssh username@host 'if [[ -f "directory/structure/Daily Report.xls" ]]; then exit 1; else exit 0; fi'`


Still i am getting the output for...
5,717
Posted By galaxy_rocky
Problem with ssh and checking if file exists
Hi All,

I am facing a problem while checking for existence of file over ssh !

Basically, i want to ssh and check if file exists.. If file exists return 1. If file does not exits return 0 (or...
2,232
Posted By galaxy_rocky
sed for first instance of a pattern
Hi Everyone, I have the below information from a log file:

LOAD SUMMARY
============

WRT_8036 Target: TGT_1_TAB (Instance Name: [Shortcut_to_TST_1_TAB])
WRT_8039 Inserted rows - Requested:...
Showing results 1 to 20 of 20

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