Search Results

Search: Posts Made By: grincz
1,067
Posted By grincz
Works just great! Thanks a lot!
Works just great! Thanks a lot!
1,067
Posted By grincz
Counting occurences in column
Hi guys!

I have a problem writing script that would convert this input




into this output:




I have an awk script that counts occurences of a sign in a column, but don't know how to...
3,399
Posted By grincz
Works great, thanks!
Works great, thanks!
3,399
Posted By grincz
conversion: 3 columns into matrix
Hi guys,
here https://www.unix.com/shell-programming-scripting/193043-3-column-csv-correlation-matrix-awk-perl.html I found awk script converting

awk '{
OFS = ";"
if (t) {
if...
1,150
Posted By grincz
It's solved, thanks!
It's solved, thanks!
1,150
Posted By grincz
Thanks! It looks like the 0002 file has...
Thanks!


It looks like the 0002 file has every line unique...



Take care!
1,150
Posted By grincz
First part works like a charm, thanks! I have a...
First part works like a charm, thanks!
I have a little problem with the second part- I didn't explane it well enough - sorry!

The OUT file should be storage file for all calculated averages, and...
1,150
Posted By grincz
Universal input -> name_n and name_n+1
Hi guys,
I'm working on 5000 files and trying to write a script that would take care of all of them. This is part of the script:
join name0000.pdb.OW.msd name0001.pdb.OW.msd > name0000+0001

I...
1,746
Posted By grincz
It made the work done! Thanks a lot!
It made the work done! Thanks a lot!
1,746
Posted By grincz
Problem with running awk script in pbs file
Hi guys I have a problem with one module of my script. It's awk script running in pbs file - It's working when I make a call from pbs to separate awk only file like this but when I try to execute...
12,324
Posted By grincz
Exactly! I think so too...
Exactly!



I think so too...
12,324
Posted By grincz
Exactly there were no commas instead there were...
Exactly there were no commas instead there were dots [this way the script wasn't working on my system] and after changing all the dots into commas script started to work. As I mentioned before I'm on...
12,324
Posted By grincz
The Corona688 method didn't work. Probably it's...
The Corona688 method didn't work. Probably it's just a problem with EastEuropean coding of signs or some other minor thing like that. I'll change the dots into comas and will use the file only for...
12,324
Posted By grincz
Thanks for answering guys! I figured out why...
Thanks for answering guys!

I figured out why I have this problem. In my file there are "." [dots] not "," [commas] between numbers and this was ruining my results.
BEGIN { max = -1; min = 1000 }...
12,324
Posted By grincz
No, maybe the problem is that I'm on a mac with...
No, maybe the problem is that I'm on a mac with bash version ?

GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)
12,324
Posted By grincz
Thanks Ahamed, I uploaded example of the file...
Thanks Ahamed,
I uploaded example of the file on dropbox :)
http://dl.dropbox.com/u/2765863/delta.txt
12,324
Posted By grincz
Hi ahamed, results are more possible bus still...
Hi ahamed,
results are more possible bus still not there..
max = 99,000
min = -1,000

I know that max should be over 160 and min around 40-50.
@Birei script is working on a smaller files but...
12,324
Posted By grincz
Unfortunately it doesn't work. I have much larger...
Unfortunately it doesn't work. I have much larger file - around 100k lines and it gives me such results...
max = 99,000
min = 100,000

Any ideas? I checked and there are no more variants of the...
12,324
Posted By grincz
Birei, thank You very much! I just noticed...
Birei, thank You very much!
I just noticed that some of the results must be from 8th column - some lines lack 5th column from early lines. Maybe it is possible to count columns backwards? Or make a...
12,324
Posted By grincz
AWK script - extracting min and max values from selected lines
Hi guys!
I'm new to scripting and I need to write a script in awk.

Here is example of file on which I'm working

ATOM 4688 HG1 PRO A 322 18.080 59.680 137.020 1.00 0.00 ...
Showing results 1 to 20 of 20

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