Search Results

Search: Posts Made By: kraterions
7,836
Posted By kraterions
Hi Chubler_XL, I'm using your script: ...
Hi Chubler_XL,

I'm using your script:

input file:

1,Tue Jul 02 15:14:55 +0000 2013,"RT @IamReallTyga: Our generation is fucked up when it comes to
0,Tue Jul 02 15:14:56 +0000 2013,"If...
2,040
Posted By kraterions
Hi Just Ice, thanks for your help, i see...
Hi Just Ice,
thanks for your help,

i see that i have to modify dir paths, but i don't understand how to use your script for my needs,

please can you try to explain a bit more?

Thanks for...
2,040
Posted By kraterions
Hi, here you will find the script: Code...
Hi, here you will find the script:

Code Snippets - twitstreamer - a simple commandline tool for reading tweets from the twitter streaming API...
2,040
Posted By kraterions
HI, I'd like to know how to restart a...
HI,

I'd like to know how to restart a running script without generate a duplicate process!

example:

script1 is running

then i have to move his result file to another path

and then...
3,926
Posted By kraterions
HI durden_tyler's amzing, i will try it as...
HI durden_tyler's

amzing, i will try it as soon as possible..


have a nice day
2,040
Posted By kraterions
Dynamic script and cron
Hello friends,

I have a script.sh running, i need to move his generated file to another path and restart it every 24h.

is there a way to restart it from a script in a dynamic way without create...
3,926
Posted By kraterions
Hi DGPickett, yoda's coda doesn´t works fine...
Hi DGPickett,

yoda's coda doesn´t works fine as you can see in the output sample.

I guess that durden_tyler's code fits my needs.

Thanks for your attention.
3,926
Posted By kraterions
Hi durden_tyler, ok perfect, your script...
Hi durden_tyler,

ok perfect, your script works fine,

do you know how to use it as a script?

perl script.pl inputfile.csv > outputfile.csvThanks for your help!
3,926
Posted By kraterions
Hello guys, here the output of yoda code:...
Hello guys,


here the output of yoda code:

SUPERUSER,relatedUSER,TOTFrequencyrelations,(1)Frequency,(0)Frequency,(-1)Frequency,VALUE
userT,userH,1,0,1,0,0
userT,userB,1,0,1,0,0...
2,756
Posted By kraterions
hello rudiC, somthing like this doesn't...
hello rudiC,

somthing like this doesn't works

awk -F -s -d",,\n" 'BEGIN{RS=""; OFS=",";} {print $1,$2}'

?

thnaks
3,926
Posted By kraterions
Hello, many thanks for your attention, ...
Hello,

many thanks for your attention,

i will try to explain what i need with a real case:

Example input:

VALUE,USER1,relatedUSER1,relatedUSER2
-1,userA,userB,userC
1,userN,userD,userB...
3,926
Posted By kraterions
MATRIX to CSV
Hello friends,

A big question for the UNIX INTELLIGENCE

I have a CSV file as follows:


VALUE,USER1,relatedUSER1,relatedUSER2
-1,userA,userB,userC
1,userN,userD,userB
0,userF,userH,userG...
2,756
Posted By kraterions
Many thanks RudiC, and for a normal file...
Many thanks RudiC,

and for a normal file like this:

content1
content2
content1
content2
content1
content2
content1
content2


thanks
2,756
Posted By kraterions
Many thanks, awk -F"\n" 'BEGIN{RS="";...
Many thanks,

awk -F"\n" 'BEGIN{RS=""; OFS=",";} {print $1,$2,$3}' file

please, can you explain a bit your code, i´d like to learn how to use AWK for this kind of tasks!

---------- Post...
2,756
Posted By kraterions
Shell scripting:from text file to CSV
Hello friends,
I have a file as follows:

"empty line"
content1
content2
content3

content1
content2
content3

content1
content2
content3

It starts with an empty line,
...
7,836
Posted By kraterions
Hi Chubler_XL, you are great!!! Last...
Hi Chubler_XL,

you are great!!!

Last thing, how can i set here:

#!/bin/bash
awk -F, -v W="day,really" '
BEGIN { split(W,w,",") ; for(i in w) N[w[i]]}
{ for(word in N) if ($1 ~ word)...
7,836
Posted By kraterions
Hi Hi Chubler_XL, many thanks for your help,...
Hi Hi Chubler_XL,

many thanks for your help,

this is exactly what I need, but there is an error:


awk: syntax error at source line 23
context is
(0+freq[1,w]+freq[-1,w])? >>> ...
7,836
Posted By kraterions
Hi Chubler_XL thanks for your help: 1)...
Hi Chubler_XL

thanks for your help:

1) doesn´t works i get an error for

awk: invalid -v option

2) doesn't works i get an empty file
...
7,836
Posted By kraterions
HI Chubler_XL, 1) in this way i obtain: ...
HI Chubler_XL,

1)
in this way i obtain:

day,574266,0,0,0,0,0%,0,0%,0,0%
today,77679,0,0,0,0,0%,0,0%,0,0%
everyday,40810,0,0,0,0,0%,0,0%,0,0%
real,77679,0,0,0,0,0%,0,0%,0,0%...
1,537
Posted By kraterions
Hello friends, I have a similar problem, ...
Hello friends,

I have a similar problem,

I have a file as follows:

"empty line"
content1
content2
content3

content1
content2
content3

content1
content2
content3

It starts...
7,836
Posted By kraterions
Hi Chubler_XL many thanks again for your...
Hi Chubler_XL

many thanks again for your help,

I have two question:

1)
When I use grep to calculate values for specific words I lost a lot of info in terms of subpatterns

I'd like to...
7,836
Posted By kraterions
Hi Chubler_XL, many thanks for your help: ...
Hi Chubler_XL,

many thanks for your help:

here the output of your script:

WORD,TOTFrequency,(1)Frequency,(0)Frequency,(-1)Frequency,(1%)Frequency,(0%)Frequency,(-1%)Frequency...
7,836
Posted By kraterions
News?
News?
7,836
Posted By kraterions
Hi Skrynesaver, many many thanks for your...
Hi Skrynesaver,

many many thanks for your BIG HELP.

Impressive job, really!

I launched your script and here his output:
...
7,836
Posted By kraterions
Hello Skrynesaver, first of all many thanks for...
Hello Skrynesaver, first of all many thanks for your attention,

I launched your script and here his output:

$/wfs.pl finaltest.csv > finaltest1.csv
Bareword found where operator expected at...
Showing results 1 to 25 of 26

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