Search Results

Search: Posts Made By: Gery
874
Posted By Gery
Thanks Bakunin for the reply, I think the best...
Thanks Bakunin for the reply, I think the best way to define outlier here is something higher than the average, you are right to point out that this is only a sample from a larger data set, actually...
874
Posted By Gery
Replace outliers in bash, with one-line command?
I need to replace outliers from time series, an example below (outlier at x-position 386). The problem is that I do not want to smooth this line, I would like to replace the outlier with, for...
2,588
Posted By Gery
Thanks spacebar, nice trick, I'll try that :b:
Thanks spacebar, nice trick, I'll try that :b:
2,588
Posted By Gery
overwrite only if both files are the same size
Dear users,

I've been looking for a way to overwrite files only if both have the same size, how could I do this? any help is very appreciated.

Best regards,

Gery
1,946
Posted By Gery
it works perfectly, thanks a lot birei
it works perfectly, thanks a lot birei
1,946
Posted By Gery
I answer me =), I just did a couple of sed calls:...
I answer me =), I just did a couple of sed calls:

sed 's/[Aa-Zz]/>/g' | sed 's/"/>/g' | sed 's/(/>/g' | sed 's/&/>/g'


good enough and efficient, thanks. If anyone has a better way, it's very...
1,946
Posted By Gery
replace line starting with not a number
Dear users,

I have a file like this:

geometry,geometry_vertex_count,Id,strnum,platecode,datatype,dtnum,refnum,appearance,disappeara,color,geogdesc,datatype_ft_style,import_notes...
2,288
Posted By Gery
many thanks Scrutinizer...
many thanks Scrutinizer (https://www.unix.com/members/302052697.html), it works wonderful, you're great dude :D
2,288
Posted By Gery
wow man, you're really good, thank you so much, I...
wow man, you're really good, thank you so much, I thought my fileB.txt was complete but it isn't. Sorry for bothering you again but, even though I can complete it manually, I was wondering if with...
2,288
Posted By Gery
Many thanks frappa and Scrutinizer, your codes...
Many thanks frappa and Scrutinizer, your codes work very nice in my example :b:, the thing is that when I use them in bigger files, for some reason the output is not complete, please let me attach...
2,288
Posted By Gery
matching columns
Hello experts,

I have this problem, I need to match values based on two files, this is what I have:

file1

1.1
1.2
1.3
5.5
1.4
1.5
1.6
file2

1 a
2 B
3 C
4 D
5 z
1,427
Posted By Gery
Thanks for your answers, I'm a bit confused about...
Thanks for your answers, I'm a bit confused about the output, let me put an example please:

I have the two-columns file, from where I need to extract the info stored in the second column based on...
1,427
Posted By Gery
compare two fields and get a third field
Hello,

I'm trying to get a value based on a comparison of two fields, this is:

file1

687.45
687.18
687.322
687.405
686.865


file 2

685 6.43
686 6.43
687 6.42
688 ...
6,426
Posted By Gery
Thank you so much greet_sed!! your codes are...
Thank you so much greet_sed!! your codes are great! sed works fantastic!!!

Happy New Year to you!! (https://www.unix.com/members/302101239.html)
6,426
Posted By Gery
awk until blank space and print next line
Hello and Happy New Year 2012!

I have this example:


1,2,3 4,5,6 7,8,9


For that, I'm trying to get:

1,2,3
4,5,6
7,8,9


for that, I think this might work but doesnt work so far:
...
1,117
Posted By Gery
thanks, and sorry for confusing you, this is the...
thanks, and sorry for confusing you, this is the input:


-0.969995498657 255 116 116 -0.0595171749592 255 116 116
-0.0595171749592 255 235 235 ...
1,117
Posted By Gery
replace row separated by tab
Dear users,

I have this problem, this is the example:

123 (tab) A (tab) B (tab) C (tab) 456

where the (tab) is actually the \t delimiter. I need to replace the A B and C for D E and F, this...
5,678
Posted By Gery
Thank you so much ctsgnb, it works perfectly,...
Thank you so much ctsgnb, it works perfectly, thank you to all!!!
5,678
Posted By Gery
Thank you for your answers and sorry for...
Thank you for your answers and sorry for confusing you.

This is what I have for example:


15.657
47.234
178.99
472.88
982.45
3762.99
5933.21
9925.43
18772.22
53827.32
82611.21...
5,678
Posted By Gery
Dear bartus11 and Dear cfajohnson, Many...
Dear bartus11 and Dear cfajohnson,

Many thanks for your answers, I tried both and the one that it's close to what I need is bartus11's code. However, I forgot to say that I have a range of values...
5,678
Posted By Gery
Rounding number, but....
Dear Experts,

I'm trying to find a way to round a number but in this way:


14367.577 ---> 14000


I used the following to round the number to the closer integer:


echo $var|awk '{print...
1,640
Posted By Gery
Thank you so much! it works perfectly.
Thank you so much! it works perfectly.
1,640
Posted By Gery
Delete all rows but leaving first and last ones
Hello,

Merry Christmas to all! I wish you the best for these holidays and the best for the next year 2011.

I'd like your help please, I need to delete all the rows in the third column of my...
3,505
Posted By Gery
It's a great piece of work, it's quite simple and...
It's a great piece of work, it's quite simple and very useful, amazing.

Have you installed the xtitlte application from the same web site? I tried but for some reasons I couldn't do it. I'm using...
3,505
Posted By Gery
Wow! it works perfectly dude!, many thanks for...
Wow! it works perfectly dude!, many thanks for your help drl.

Interesting, I found a web site with a perl executable, I also installed it and works perfectly, here is the link:

...
Showing results 1 to 25 of 50

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