Search Results

Search: Posts Made By: iconig
1,791
Posted By iconig
Your code is essentially the same as mine. The...
Your code is essentially the same as mine. The problem is if I have 100 column, I do not want to write out each column by hand. I am looking for a code that will go through each column one after the...
1,791
Posted By iconig
Using a command to go column by column
Hi,
Could somebody help me with a code that passes each column through a command or set of commands, one column at a time. LIke this:
cat data:
4 89 87
5 3 89
10 82 4
39 10 39
100 98 9
1 4 3...
2,946
Posted By iconig
Thanks, it worked ---------- Post updated...
Thanks, it worked

---------- Post updated 12-11-12 at 10:57 AM ---------- Previous update was 12-10-12 at 08:52 PM ----------

Can these be done to appear in one column instead of one row? The...
2,946
Posted By iconig
Lower triangular matrix
Hi,
I was wondering if there is a way of using awk to extract the lower or upper triangular matrix from a symmetric matrix. Say I have this matrix:
$ cat data:
1 0 9 6 7 9
0 8 2 8 9 0
9 2 6 9 4...
962
Posted By iconig
Could you explain the code?
Could you explain the code?
962
Posted By iconig
selecting certain files
Hi,
I have been working on a punch of codes and I got to a problem I hope to get help on. I have some files that I want to work with but the folder has other files in it. For example: The folder...
1,193
Posted By iconig
The tr worked. Thanks
The tr worked. Thanks
1,193
Posted By iconig
Thanks, I was just reading about the use of tr...
Thanks, I was just reading about the use of tr and -s but didn't know it was this straight forward. You are just too good. Thanks a lot.

---------- Post updated at 08:35 PM ---------- Previous...
1,193
Posted By iconig
underscore to dots
Hi,
I have been trying to change underscores to dots.
For example:
1122_91 1022_233 .
2237_23 9382_2339 2998_234
345_257 . .

Desired output:
1122.91 ...
2,772
Posted By iconig
hi, it did not take up to 5 minutes. It seems...
hi,
it did not take up to 5 minutes. It seems to give me what I want but I would have to check to make sure.
Thanks

---------- Post updated at 08:06 AM ---------- Previous update was at 08:04 AM...
2,772
Posted By iconig
Yes you are right, it was an oversight. ...
Yes you are right, it was an oversight.

---------- Post updated at 11:54 PM ---------- Previous update was at 11:13 PM ----------

Once I create the columns and rows, I would just send it into...
2,772
Posted By iconig
I am using bash, not kWh, would this be able to...
I am using bash, not kWh, would this be able to work for bash? Also could you explain the kc?
Thanks
2,772
Posted By iconig
Yes you are right with the output file having...
Yes you are right with the output file having 3001 columns and 3000 rows. I am interested in the correct matching of column 1 in the list with the first column from each other file. The output file...
2,772
Posted By iconig
Merging multiple files using lines from one file
I have been working of this script for a very long time and I have searched the internet for direction but I am stuck here.
I have about 3000 files with two columns each. The length of each file is...
2,787
Posted By iconig
it is the actual beta for line one that I am...
it is the actual beta for line one that I am working on
2,787
Posted By iconig
31353135
31353135
2,787
Posted By iconig
If I knew what to do, don't you think I would...
If I knew what to do, don't you think I would have done it? That's why I am asking for input, I am about 1 month into programing. Thanks
2,787
Posted By iconig
I don't know what you mean by the UK comment but...
I don't know what you mean by the UK comment but I hope it is not derogatory. The most important thing which is what I need to run is the itgen............I created perm just to save that program....
2,787
Posted By iconig
I just created a file and named it perm. It is...
I just created a file and named it perm. It is the content of the file that is important because it contains a program we use in research. The program is: itgen -m 500 -r rhs -b beta -n con (I just...
2,787
Posted By iconig
perm is a file name I just created and it...
perm is a file name I just created and it contains a program whichI want each line to be read into. I just tried to pipe each line to perm. It may not be the right approach to take. The content of...
2,787
Posted By iconig
perm contains a program that runs automatically...
perm contains a program that runs automatically if done right. t contains something like itgen -m 500 -r rhs -b beta -n con.
I want each line to pass through perm and send out beta. The next line...
2,787
Posted By iconig
looping and saving output of each line separately
I have been trying this program for a long time. I am trying to read a file named "odon" line by line; read the first line, send it to do a command saved in a file "perm", once the first line has...
825
Posted By iconig
looping problem
I have been trying to come up with a program that can do this:
Say I have a file named "sir" with a single field;
10
229
288
35
83
47
3
I want to create a file "gen" with three fields with...
Showing results 1 to 23 of 23

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