Search Results

Search: Posts Made By: Litu19
1,957
Posted By Litu19
As of now we dont have perl. I appreciate your...
As of now we dont have perl.
I appreciate your efforts and helping approach. Scrutinizer already provided the solution to our problem. Thank you Scrutinizer.



Regards,
Litu
1,957
Posted By Litu19
Thanks Ravinder. I am very much new to...
Thanks Ravinder.
I am very much new to scripting. Initially I was thinking how I am going to do this, but you guys are really champ.

A big thank you to all for your valuable support.
...
1,957
Posted By Litu19
Thanks for your response. I tried and seems like...
Thanks for your response. I tried and seems like it is working. Please explain the below commands.



Regards,
Litu

---------- Post updated at 02:53 PM ---------- Previous update was at...
1,957
Posted By Litu19
How to remove content present in between specific pattern ?
Hi,

I have a file with following pattern. We are looking to filter out only specific content from this file.


sample

BLAdmins Server.*
LinuxAdmins Server.*
Policy Name:...
1,961
Posted By Litu19
Thanks for your nice explanation and the way you...
Thanks for your nice explanation and the way you handle and fix one more bug in my old logic. Appreciate your timely and quick response. I will have couple of tests again in our prod and will update...
1,961
Posted By Litu19
While testing I found it is working. I have one...
While testing I found it is working. I have one doubt here ...how ^[[:blank:]]* is able read whether the line begins with # or not.

PATTERN="^[[:blank:]]*\*\.debug[[:blank:]]*\@vxhgt-hskhng02"
...
1,961
Posted By Litu19
Hi Scrutinizer, I appreciate your quick...
Hi Scrutinizer,

I appreciate your quick response.

As of now I have used grep command as mentioned below and it is working fine.

myfile
uucp,news.crit ...
1,961
Posted By Litu19
:b: Thanks for your help. It worked out for me.:)...
:b: Thanks for your help. It worked out for me.:)

---------- Post updated 06-17-14 at 11:38 AM ---------- Previous update was 06-16-14 at 07:51 PM ----------

I found one disconnect in my logic...
1,961
Posted By Litu19
Thanks for quick reply. I tried your way...but...
Thanks for quick reply.
I tried your way...but no luck. It is still appending the entry even if it already present there.
1,961
Posted By Litu19
How to check line existence in shell ?
Hi,

We have some config file and there we are looking to append a line if it is not found.
abc.conf
authpriv.* /var/log/secure
mail.* ...
10,123
Posted By Litu19
Its not working dear. sed '$s/.$//'...
Its not working dear.


sed '$s/.$//' filename

Below is the actual data I have in csv file.


Template,Target Server,Target Component,Rule Group,Rule,Rule Reference Number,Rule...
10,123
Posted By Litu19
How can we remove comma from end of each line ?
Hi,

How can we remove the comma from the end of each line.

I have a csv file in below format.

file.csv


Name,age,gender,location,
Joel,18,M,Newyork,
Monoj,21,M,Japan,...
4,671
Posted By Litu19
Hi, I really appreciate your efforts here....
Hi,

I really appreciate your efforts here. I am a beginner for scripting and have very little knowledge. I hope you can understand my position. You may be correct but we dont have csvtool...
4,671
Posted By Litu19
Hi drl, Thanks for such a nice brief along...
Hi drl,

Thanks for such a nice brief along with example. I understand that csvtool is an application which takes data as an input and based on the instruction it will process the input data and...
4,671
Posted By Litu19
I think this will include the content of 7th and...
I think this will include the content of 7th and 8th postion to the new file. But I am looking to create a new csv file with all the data except 7th and 8th position.(rule definition and mismatched...
4,671
Posted By Litu19
How to delete a columns of a CSV file which has cell values with a string enclosed in " , "?
Hi

How can I delete a columns from a CSV file which has comma separated value with a string enclosed in double quotes or square bracket and a comma in between?

I have a csv file with below...
Showing results 1 to 16 of 16

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