Search Results

Search: Posts Made By: faiz1985
3,588
Posted By faiz1985
nawk worked perfectly :b: Thanks a lot for...
nawk worked perfectly :b:

Thanks a lot for your help buddy :)
3,588
Posted By faiz1985
Hi Scottn, Yes, I do mean the first field,...
Hi Scottn,

Yes, I do mean the first field, sorry for missing out that earlier.

The awk command does not seem to be working for me :(


hws006a001: awk -F, '!A[$1]++' diskspace_Dywhapp_DR...
3,588
Posted By faiz1985
Duplicate lines in a file
Hi All,

I am trying to remove the duplicate entries in a file and print them just once. For example, if my input file has:


00:44,37,67,56,15,12
00:44,34,67,56,15,12
00:44,58,67,56,15,12...
2,735
Posted By faiz1985
Not able to read unique values in array
Hi Friends,

I am having some trouble reading into an array. Basically, I am trying to grep for a pattern and extract it's value and store the same into an array. For eg., if my input is:...
2,717
Posted By faiz1985
Hey Friends, Just for info, what's "$/"...
Hey Friends,

Just for info, what's "$/" for? :confused:
2,717
Posted By faiz1985
Hey Guys, Both the above codes are working...
Hey Guys, Both the above codes are working perfect. Thanks a lot for the help guys :)
2,717
Posted By faiz1985
Hiii, Thing is, I am new to file handles. This...
Hiii,
Thing is, I am new to file handles. This is what I tried:

print "Enter Search pattern: ";
$user_input=<>;
chomp($user_input);
open (LOGFILE, "perl_try_ip.txt");
$input=<LOGFILE>;...
2,717
Posted By faiz1985
Need help with Perl
Dear friends,
I am trying to separate records from a file, search a pattern and print the record having the pattern. I was able to come up with the following code:


#/bin/perl
$a="...
1,254
Posted By faiz1985
Hi Shalini, I went through your thread, and...
Hi Shalini,
I went through your thread, and initially thought that this would be a very easy one. But when I started working on it, it really did take some time :rolleyes:
What I thought should be...
6,523
Posted By faiz1985
Grep for a pattern and print entire record
Hi friends,
This is my very first post on forum, so kindly excuse if my doubts are found too silly.
I am trying to automate a piece of routine work and this is where I am stuck at the moment-I need...
Showing results 1 to 10 of 10

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