Search Results

Search: Posts Made By: Paul Moghadam
4,815
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
1,525
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...
1,705
Posted By Paul Moghadam
Thanks very much
Thanks very much
1,705
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
...
3,962
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...
3,962
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
3,962
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,...
3,962
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 03:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy