Search Results

Search: Posts Made By: Paul Moghadam
6,893
Posted By Paul Moghadam
Piping grep into awk, read the next line using grep
Hi,

I have a number of files containing the information below.

"""""
Fundallinfo
6.3950 14.9715 14.0482
"""""

I would like to grep for Fundallinfo and use it to...
Forum: Programming 11-21-2013
2,013
Posted By Paul Moghadam
Strange characters in FORTRAN code output
Hi guys,

After compiling a .f90 code and executing it, i get strange characters in the output file like :

^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

Are these windows...
2,316
Posted By Paul Moghadam
Thanks very much
Thanks very much
2,316
Posted By Paul Moghadam
How to remove first few characters from multiple file names without do loop?
Hi Fellows,

I was wondering how I can remove first few characters from multiple file names without do loop in unix?

e.g.

water123.xyz
water456.xyz

to

123.xyz
456.xyz

Thanks
...
4,256
Posted By Paul Moghadam
Thanks for your reply. when I add another two...
Thanks for your reply. when I add another two lines to my data:

2 1 10
3 6 11
4 4 12
5 5 13
6 8 14
0.5 8 9
5 0.5 17

I expect to get :
4 12
5 13
6 11
0.5 17
5 13

but the output...
4,256
Posted By Paul Moghadam
Sure. I've added this to the initial question as...
Sure. I've added this to the initial question as well.

input
2 1 10
3 6 11
4 4 12
5 5 13
6 8 14


output
4 12
5 13
6 11
4,256
Posted By Paul Moghadam
Thanks for your response. It works absolutely...
Thanks for your response. It works absolutely fine. I changed further my question. what if I want to look for a match between my first data point in column 1 and the entire column 2?

Thanks again,...
4,256
Posted By Paul Moghadam
Shell do loop to compare two columns (duplicates)
Hello,

I have a single text file with three columns like:

2 1 10
3 6 11
4 4 12
5 5 13
6 8 14

I was wondering how I can run a shell script to (do loop) to read the first point...
Showing results 1 to 8 of 8

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