Search Results

Search: Posts Made By: theawknewbie
3,161
Posted By theawknewbie
Birei, that is sort of the way I was doing...
Birei,

that is sort of the way I was doing it. But the files I'm dealing with become huge, and it's becoming very slow.

I wonder if there is a way to do it in sed?
Forum: High Performance Computing 10-19-2011
4,942
Posted By theawknewbie
request more nodes
I am new to cluster commands. But I have tried utilizing: -pe, but I do not know my parallel computing environment. We are running SGE, is there a simpler command to request more nodes?

also:...
2,300
Posted By theawknewbie
Help submitting jobs to cluster
Hi

I am new to submitting jobs. I am trying to submit my perl file to the cluster.

This is what my shell file looks like (shell1.sh):

#!/bin/sh
#$ -S /bin/sh

cd data/projects/mydir/abbc...
3,161
Posted By theawknewbie
I want FileB to be growing after each iteration. ...
I want FileB to be growing after each iteration.
After 1 iteration, here is FileB: 1 20
2 22
3 23
4 12
5 43

Second iteration, i cut column 2 from the newly made fileA into FileB:
1 20...
3,161
Posted By theawknewbie
awk append fileA.txt to growing file B.txt
This is appending a column.
My question is fairly simple. I have a program generating data in a form like so:
1 20
2 22
3 23
4 12
5 43
For ever iteration I'm generating this data. I have...
1,073
Posted By theawknewbie
I don't have nawk on my commandline. using...
I don't have nawk on my commandline. using regular awk gives me a weird output
1,073
Posted By theawknewbie
Rows to Column
I have a tab delimited file like this:

1 2 3 4 5 6
7 8 9 10 11 12
13 14 15 16 17 18





I want it to look like:

1 7 13
2 8 14
3 9 15
4 ...
13,990
Posted By theawknewbie
thanks this is perfect! thanks for stickin it out...
thanks this is perfect! thanks for stickin it out with me!
13,990
Posted By theawknewbie
up to 8 largest, with the differences still there...
up to 8 largest, with the differences still there (i.e. difference greater than 5 between the previous largest).

thanks for helping me out, I've never gone this far in awk before. But I am...
13,990
Posted By theawknewbie
yes, i want to ensure between 2nd and 3rd is > 5,...
yes, i want to ensure between 2nd and 3rd is > 5, and 3rd and 4th is > 5, 4th and 5th > 5, etc. etc.

thanks
13,990
Posted By theawknewbie
i'm having a hard time understanding the...
i'm having a hard time understanding the !second{print $0;second=$2;}$2<second{print $0;exit;}' line
.

I want to understand it to tailor it to find 3rd largest maxes with difference greater than...
13,990
Posted By theawknewbie
Thanks for that last reply! That really did it...
Thanks for that last reply! That really did it for 2nd max, but what can I do for a 3rd largest max with the same "max - $2>5" idea??
It's sort of like this (continued)

133 800
133...
13,990
Posted By theawknewbie
my problem has gotten a bit stickier after...
my problem has gotten a bit stickier after sorting

my text files actually look like:

133 800
133 799
133 798
133 403
133 402
133 401

I'm looking to simply read the max value of...
13,990
Posted By theawknewbie
awk second largest, third largest value
I have two text files like this:
file1.txt:

133 10
133 22
133 13
133 56
133 78
133 98
file2.txt:

158 38
158 67
158 94
158 17
158 23
I'm basically trying to have awk check the...
Showing results 1 to 14 of 14

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