Search Results

Search: Posts Made By: saleheen
Forum: Programming 05-04-2015
1,862
Posted By saleheen
Thanks a lot drl! I actually had no time at that...
Thanks a lot drl! I actually had no time at that moment so I just converted all the files to 5 digits, like 1 to 10001 and 10000 to 20000. Your solution is the one I was looking for. I'll try it...
Forum: Programming 04-29-2015
1,862
Posted By saleheen
Thanks RudiC. But It seems like the concatenation...
Thanks RudiC. But It seems like the concatenation operator only works for character strings, doesn't work with character and integer. I tried this way too.
do i=1,9 ! file loop
...
Forum: Programming 04-29-2015
1,862
Posted By saleheen
Hi Rudic Thank you so much for answering! I...
Hi Rudic

Thank you so much for answering! I almost solved my problem but stuck in one single step. I have to read 10000 files which are named as OwZ-1.xyz, OwZ-10.xyz, OwZ-10000.xyz like this....
Forum: Programming 04-28-2015
1,862
Posted By saleheen
FORTRAN:Algortihmic Problem
Hi guys

I am faced with this problem that I couldn't figure out yet, if you can point me to some direction that'll be of great help. So here's what I want to do.

I have let's say 10000 files...
Forum: Programming 04-25-2015
6,623
Posted By saleheen
Awesome man! You guys are the best! Thanks a lot!
Awesome man! You guys are the best! Thanks a lot!
Forum: Programming 04-25-2015
6,623
Posted By saleheen
Awesome! Thank you so much Don!
Awesome! Thank you so much Don!
Forum: Programming 04-25-2015
6,623
Posted By saleheen
Hi Don Thanks a lot for you reply. 'T' is an...
Hi Don

Thanks a lot for you reply. 'T' is an array, I've defined the elements initially. 'r' is number of input files of that species (here 'reac') I have. It prompts me for how many species of...
Forum: Programming 04-24-2015
6,623
Posted By saleheen
FORTRAN: Loop over variable file names
Hi guys

I'm a beginner in fortran. So excuse me for my naivety, let me briefly describe what I was trying to do. I have let's say 2 files named reac-1 and reac-2. After opening these files I've to...
5,162
Posted By saleheen
Thanks a lot man!
Thanks a lot man!
5,162
Posted By saleheen
Thanks a lot man! Fantastic! It worked! Could you...
Thanks a lot man! Fantastic! It worked! Could you kindly explain the code? I'm ignorant :( And also I just wanted how I can change array elements using sed within a loop. May be like this-
...
5,162
Posted By saleheen
Hi Ravinder Thanks a lot! But I think it...
Hi Ravinder

Thanks a lot! But I think it didn't work :( For 5 files,the output looks like this-
Ow 1230
Ow01230
Hw11231
Hw11231
Hw21232
Hw21232
Ow31233
Ow31233
Hw41234
Hw41234
Hw51235...
5,162
Posted By saleheen
Array inside sed
Hi guys

Let me at first describe the whole thing that I'm trying to do. Lets say I have 100 files like the following one.
Ow 1230 16.000000 -0.834000 16.083957 ...
1,115
Posted By saleheen
Thanks a lot bakunin. Honestly I'm not clear...
Thanks a lot bakunin. Honestly I'm not clear about the line of code you've given. Too dumb to understand these awesome little magics :( That's why I think I couldn't make it work.

1. sed '/Pt[...
1,115
Posted By saleheen
Thanks a lot bakunin! I knew I should be more...
Thanks a lot bakunin! I knew I should be more clear.
1. Yes, the bottom 2 layers are the atoms whose z coordinates start with 0.***** & 2.*****. There are two more layer of atoms above these.
2. I...
1,115
Posted By saleheen
If statement between different file's arrays
Hi guys

Let me explain at first what I'm trying to do. My input file looks like this.

1280
Surfaces
Pt 0.00000000000000 0.00000000000000 0.00000000000000
Pt ...
14,426
Posted By saleheen
Thanks a lot all of you guys! I was busy doing...
Thanks a lot all of you guys! I was busy doing some other thing so I made a shortcut solution to this problem, Haven't tried your's yet. Just thought I should share the shortcut. In windows search...
14,426
Posted By saleheen
wow! awesome! let me understand and try this...
wow! awesome! let me understand and try this thing, I have never used busybox or pscp before though. Thanks a lot Corona688!! :D
14,426
Posted By saleheen
But how do I remove that CASTEP Energy part? I've...
But how do I remove that CASTEP Energy part? I've checked, if I put both of them in same depth of directory, it's not impossible, but the CASTEP Energy part is bugging me cause since these are from...
14,426
Posted By saleheen
If it guessed wrong and copied wrong files, I'm...
If it guessed wrong and copied wrong files, I'm screwed to some to a good extent and the bad part is I wouldn't even know I'm done big time :/
Let me say one more time. In unix I have...
14,426
Posted By saleheen
Here's an idea. What if I copy the whole project...
Here's an idea. What if I copy the whole project from windows to unix using recursive scp and use a for loop and wild card to match the directory name in both,as you suggested the stripping of part...
14,426
Posted By saleheen
You are right! Directory tree will have different...
You are right! Directory tree will have different names :/ So you're saying to match the directory trees in windows?
Thanks a lot Corona688!
14,426
Posted By saleheen
Thanks a lot blackrageous. I do use scp to copy...
Thanks a lot blackrageous. I do use scp to copy files from local linux machine to other servers but is it the same for my windows pc? I mean can I copy the same way? And how do I match the directory...
14,426
Posted By saleheen
Script for copying files from windows to UNIX
Hi guys

Let me start by saying that I'm a newbie, so feel free to point me to any good reading material. What I wanted to do is copy some specific files from windows to unix. Let me elaborate my...
40,838
Posted By saleheen
Thanks you so much bakunin, we had our eid...
Thanks you so much bakunin, we had our eid celebrations yesterday, that's why I'm posting late. I have changed my shell into bash so I think life will be a little bit easier even for a newbie like...
40,838
Posted By saleheen
Thank you so much bakunin. If I'm understanding...
Thank you so much bakunin. If I'm understanding correctly, you're telling me to use the absolute path in my script. I actually didn't get this part of your answer, I'm so sorry, I'm just a newbie....
Showing results 1 to 25 of 38

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