Search Results

Search: Posts Made By: teefa
Forum: Programming 02-17-2014
7,289
Posted By teefa
Kindly it's like any binary encoded files x.dat...
Kindly it's like any binary encoded files x.dat so kindly proceed
Forum: Programming 02-16-2014
7,289
Posted By teefa
I wanna the code on command line unix any (perl -...
I wanna the code on command line unix any (perl - c - shell script )
I got binary files from charging system .air and got its schema , but I can't decode it , kindly reply fast I'm online
Help me...
Forum: Programming 02-16-2014
7,289
Posted By teefa
thanks alot , but if this code is in a file named...
thanks alot , but if this code is in a file named code.c , how will i use it
i got a schema and binary.air file
shall i gcc -o code.sh code.c
then code.sh binary schema > output

kindly...
Forum: Programming 02-15-2014
7,289
Posted By teefa
ok , shall any one reply me how to use it
ok , shall any one reply me how to use it
Forum: Programming 02-12-2014
7,289
Posted By teefa
seem you don't know how to use it and you cant...
seem you don't know how to use it and you cant know how to reply me ,, i got a schema and binary file
my target is to decode this binary file with the given schema , how would i use this thing
by...
Forum: Programming 02-10-2014
7,289
Posted By teefa
my case i got a schema and a binary file , i need...
my case i got a schema and a binary file , i need to decode it (thats simply)

sorry for asking alot :D . so i need the decoder , while i gcc for the decoder it got error related to the efi.h ,...
Forum: Programming 02-09-2014
7,289
Posted By teefa
It requires the Grammer file = asn schema hdr...
It requires the Grammer file = asn schema
hdr file = input file binary coded
what about the c file the third input in the script

---------- Post updated at 06:57 AM ---------- Previous update...
Forum: Programming 02-04-2014
7,289
Posted By teefa
Kindly find me another code as this one doesnt...
Kindly find me another code as this one doesnt work :(
Forum: Programming 01-26-2014
7,289
Posted By teefa
ASN.1 Decoder UNIX Code
Kindly help i need to write a code for Decode/Compile the ASN.1 which is found in javascript or C language if any got a final working Code:D
1,595
Posted By teefa
im using solaries 10, sorry ive tried...
im using solaries 10, sorry ive tried /usr/xpg4/bin/awk

at the End thanks all both perl and awk works correctly but perl much faster :D
1,595
Posted By teefa
It got syntax error , kindly i need any script to...
It got syntax error , kindly i need any script to make it within 6 min max as it depends on time for huge files
1,595
Posted By teefa
krishmaths...
krishmaths (https://www.unix.com/members/302017313.html) https://www.unix.com/images/statusicon/user_offline.gif
Registered User
krishmaths is active

Save...
1,595
Posted By teefa
thanks alot its so fast ive tired it on a...
thanks alot its so fast ive tired it on a 15Million record file i got it in 3 min nearly but some numbers were wrong , can it be a sort problem , when i tried it on unsorted 100 number it got right...
1,595
Posted By teefa
Getting the most common column with respect another
hi all,

i want to get the most comon column w.r.t another

this is my file

Tom|london
Tom|london
Tom|Paris
Adam|Madrid
Adam|NY


the Output to get me :

Tom|london
Adamn|Madrid...
976
Posted By teefa
Getting most repeated 3 lines
Hi all
if i want to get the 3 lines of the most repeated lines here

tony,1,x
tony,1,x
tony,2,x
tony,2,x
tony,3,x
tony,4,x
tony,5,x
adam,1,y

to get output

tony,1,x
tony,2,x...
1,392
Posted By teefa
i have tried it , it works but i think you can...
i have tried it , it works but i think you can make it

NR>=1 instead NR>1

but thanks but can u look at the second example
1,392
Posted By teefa
i have tried with cat file | uniq -c |...
i have tried with

cat file | uniq -c | /usr/xpg4/bin/awk -F"," '!a[$1,$2]++'


to get me first or most repeated but in case of tom i want the 2 cases from 2 diff records in one record

its...
3,120
Posted By teefa
you can simply try this file=`"date...
you can simply try this

file=`"date +/files/CybertonTransaction.%Y%m%d-%H.log"`

/files/ this is your directory

tail -f $file


try it in a crontab
1,392
Posted By teefa
Getting the most repeated column
Hi all ,

i want to get the most repeated column in my file
File:

name,ID
adam,12345 ----1
adam,12345 ----2
adam,934
adam,12345 ----3
john,14
john,13
john,25 ----1
john,25 ----2...
774
Posted By teefa
thanks alot,sorry, if i need the output as the...
thanks alot,sorry, if i need the output as the following

barca,spain,2win,night ---- 2 win and 1 lose ----- drop lose
realM,spain,3win,night


here we got the ($3) that counted more and...
941
Posted By teefa
UNIX cumulater
hi all

i want a script to get a cumulative item , data as following

realM,spain,win,night -----1
barca,spain,win,night
realM,spain,lose,night ----2
realM,spain,win,night------3...
774
Posted By teefa
UNIX cumulater
hi all

i want a script to get a cumulative item , data as following

realM,spain,win,night -----1
barca,spain,win,night
realM,spain,lose,night ----2
realM,spain,win,night------3...
972
Posted By teefa
hahahha not its not but sorry i cant imagine now...
hahahha not its not but sorry i cant imagine now how to do it
so kindly its urgent if you can help me send me how to do it
2,081
Posted By teefa
i ve tried this thanks alot to you all : ...
i ve tried this thanks alot to you all :




#! /usr/bin/ksh
echo enter first time stamp
read TIME1
echo enter second time stamp
read TIME2
H1=`echo $TIME1 | cut -d\: -f1`
M1=`echo...
972
Posted By teefa
Importing File fields into a script
Hi All,

Kindly tell me how to import a file fields in a scripts



scripts=adder.sh >> add values

vi adder.sh (for example)

N1=$1
N2=$2
N=$N1+$N2

***********
file.txt
...
Showing results 1 to 25 of 81

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