Search Results

Search: Posts Made By: Nayanajith
1,646
Posted By Nayanajith
State Change count in the column
Dear all,
I have file like below shown. In that file i need to identify how many state change in the column "type".For example 94713357873 goes from type B --> 1
i need to count it.But when we...
1,685
Posted By Nayanajith
Lookup the matching string
Dear all,

I have two files like below.

file1
======

x y
==== ===
123 test1
124 test2
125 ...
4,233
Posted By Nayanajith
Hex to Decimal Convertion
Dear all,

I have a file like this.

EE48 4473 7FC9
EE48 102C D23
EE48 4DD 27D
EE48 0 ...
3,254
Posted By Nayanajith
Thanks for all replying me.All answers that i got...
Thanks for all replying me.All answers that i got , i have tried it's working.

Thanks you again.
3,254
Posted By Nayanajith
shell .. (bash)
shell .. (bash)
3,254
Posted By Nayanajith
Get count on different fields along the raws in a file
Dear All,

Please help me to do this.

I have a file like this.

5|94662240807|94776109911|94776325901|94779007172||||||
5|94112925421|94352240384|94352259199|94672229012||||||...
87,123
Posted By Nayanajith
Dear Jadu, Thank u ! it is working. ...
Dear Jadu,

Thank u ! it is working.

Thanks you again,

Nayanajith.
87,123
Posted By Nayanajith
Column sum group by uniq records
Dear All,

I want to get help for below case.
I have a file like this.


saman 1
gihan 2
saman 4
ravi 1
ravi 2

so i want to get the result,

saman 5
gihan 2
ravi 3 like this.

Pls...
51,168
Posted By Nayanajith
I don't have gawk.
I don't have gawk.
51,168
Posted By Nayanajith
How to Convert Hex value to Dec ?
Hi All,

I want to convert below Hex value to Dec value in each column .How to do it ? This data is in a 1 file.

4e20 0475
2710 010f
7530 69a2
7530 7e2f
4e20 02dd
7530 6299
4e20 0c0a
7530...
4,634
Posted By Nayanajith
Thank you very much.It's working.
Thank you very much.It's working.
4,634
Posted By Nayanajith
it is not working as i want.Below is the data...
it is not working as i want.Below is the data file.

SDPINPUTCDR.SDPCallDetailRecord.chargeEventCDR
{
cdrID : "egmailcom0w10ggzx00"
teleServiceCode : 'sMS (5)'
chargedPartyNumber :...
2,029
Posted By Nayanajith
raw data to column data
I have a data file like this.

SDPINPUTCDR.SDPCallDetailRecord.chargeEventCDR
{
cdrID : "egmailcom0w10ggzx00"
teleServiceCode : 'sMS (5)'
chargedPartyNumber : "716323770"
otherPartyNumber :...
4,634
Posted By Nayanajith
Put raw data to column data
Dear all,

I want below data to make it in column format.so i will see the data like this

cdrID teleServiceCode chargedPartyNumber ... ... ... ... ...
2,888
Posted By Nayanajith
How to change Raw data to Coloumn data fields
Dear All,

I have some data file.see below.

--------------ALARM CLEARING FROM SubNetwork=ONRM_RootMo,SubNetwork=AXE,ManagedElement=CGSN--------------
Alarm Record ID: 25196304...
52,518
Posted By Nayanajith
Get the Previous date
Dear all,

I want to echo the previous date every time whrn i run a script

eg -

./test.sh

result-

Today is - 2006 06 29
Yesterday is - 2006 06 28

exactly like this.

How to...
1,688
Posted By Nayanajith
Returning to begining of a script
Dear all,

When i ask a question in my script if the answer is not correct i need to goback to the begning of the script and ask the question again.

ex - What is your name ?
saman
...
1,847
Posted By Nayanajith
How to match month
Dear all,

i need script to ask to enter the month and if the enterd month is not valid prompt " Envalid entry try again " like this.

eg - Enter the month : Jun

script is...
6,422
Posted By Nayanajith
How to encrypt a script file
Dear all,

I want to encrypt my script file so that other persons cannot change or view the script.How to do this ?

Thanks,
Nayanajith.
2,677
Posted By Nayanajith
reply They are created based on the hour. ...
reply

They are created based on the hour.

eg,

Jun 22 23:12 0622.IST230500.00.pp_20060622_231252
Jun 22 23:22 0622.IST231000.00.pp_20060622_232223
Jun 22 23:22...
2,677
Posted By Nayanajith
checking missing files in side a folder
Dear all,

Every hour i am receiving several data files to one folder for 24 hours each day.But some times some hours i do not have the files because of some problem.So i want to check the files...
2,557
Posted By Nayanajith
How to copy a file according to the date
Hi,

I want to copy a some files according to the date.

lets say i want to copy file from june1st to june14th.

What is the command for that ?

Thanks,
Nayanajith.
7,207
Posted By Nayanajith
max value
Hi All,

I want to choose the maximum value from a column values.

eg -

234
23
567
43
2456
5
678
8978

from thses values how to choose the max value ?

thanks.
roger.
5,403
Posted By Nayanajith
Hi , Thanks for the reply.but again i have a...
Hi ,

Thanks for the reply.but again i have a little bit problem.

for i in Gbegamey_A,LC2
do
grep "$i" data.txt > "$i"sort
awk '{sum1+=$17; sum2+=$18} END { printf("%s %d %d %d\n", $i, sum1,...
5,403
Posted By Nayanajith
column sum
Hi Friends,

How i can get the sum of the coloumn value and assign to variable.

a1 a2
233 123
234 345
235 254

i need to get the sum of the to columns and assign...
Showing results 1 to 25 of 25

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