Search Results

Search: Posts Made By: mario8eren
17,681
Posted By mario8eren
I need to create multiple files with different...
I need to create multiple files with different inputs (the template file).

Anyway, thanks for your help. I took the
asukoht=`pwd` command away from the script and it started working :confused: ....
17,681
Posted By mario8eren
I can't understand sed error output.
Hey forum,

I have a problem with a script what used to work, but suddenly is not working anymore. I have been trying different things for an hour now and I give up :D .


#!/bin/sh
...
1,079
Posted By mario8eren
Thank you very much :) . Mario
Thank you very much :) .

Mario
1,079
Posted By mario8eren
A problem with "do".
Hi, I'd like to execute a script:

#!/bin/sh

asukoht=`pwd`

do
cd $asukoht/1
if [ -a $asukoht/1/GEO_OPT_CONVERGED ] ; then
rm GEO_OPT_CONVERGED
jobex -ri -c 300 >...
12,008
Posted By mario8eren
Thank you for the compliment :) . The x2t.sh...
Thank you for the compliment :) .

The x2t.sh looks like this:

#!/bin/sh

template=$1
for values in {45,165,285}\ {45,165,285}\ {45,165,285}\ {45,165,285}\ {45,165,285}\ {45,165,285}\...
12,008
Posted By mario8eren
I am not sure if this is helpful: ...
I am not sure if this is helpful:

mario8@yukawa (~) >uname -a
Linux yukawa 2.6.18-6-k7 #1 SMP Fri Feb 19 23:58:00 UTC 2010 i686 GNU/Linux

But I know, that I am using Debian.



I am not...
12,008
Posted By mario8eren
Thank you very much. I tried it, but it didn't...
Thank you very much. I tried it, but it didn't find "PATH_MAX" in the file. So I just tried "MAX". I hoped there is an equivalent keyword there, but I didn't find anything I could relate to pathname....
12,008
Posted By mario8eren
"Argument list too long" error
Hi everyone,

I have a problem with my shell script. As a quick overview I need to change a template file 6561 times and copy the file into a new catalogue. Thanks to your forum I have managed to...
1,978
Posted By mario8eren
Thanks, I am going to try it tomorrow at work.
Thanks, I am going to try it tomorrow at work.
1,978
Posted By mario8eren
The same script with extra variables seems to fail
Hey everyone,

I have a problem with a certain shellscript. I have a script like this:



#!/bin/sh

template=$1
for values in {60,150,240,330}\ {60,150,240,330}\ {60,150,240,330}\...
1,613
Posted By mario8eren
Thank you very much it helped me a lot Alister :)...
Thank you very much it helped me a lot Alister :) . Also thanks to others for giving good ideas.

Mario

---------- Post updated at 07:16 AM ---------- Previous update was at 02:02 AM ----------...
1,613
Posted By mario8eren
Hei, it's not exactly what I meant. I will...
Hei, it's not exactly what I meant.

I will paste my file here, tho it is quite long. I added X, Y, Z, and M for the numbers I want to change.



#

Titaan-tetra-isopropksiid

0 1
Ti1
O2...
1,613
Posted By mario8eren
Making 256 files with variables
Hi,

I am really sorry for posting a newbie question here, but I do not have time to start learning shell scripting at the very moment.

My question is how can I write a script what takes a file...
15,245
Posted By mario8eren
Thank you, works like a charm :) . ...
Thank you, works like a charm :) .

---------- Post updated at 02:15 PM ---------- Previous update was at 02:13 PM ----------



I don't think I ever need more then 11, but thank you for the...
15,245
Posted By mario8eren
Thank you both, I will try them as soon as I get...
Thank you both, I will try them as soon as I get to work :) .

---------- Post updated at 01:01 PM ---------- Previous update was at 12:49 PM ----------



The ".11" addition only adds it in...
15,245
Posted By mario8eren
For me it only solved half of the problem,...
For me it only solved half of the problem, because now the output file is like this:

-3841.924102Better then before :o .
15,245
Posted By mario8eren
Sum of all lines in file without roundup with awk
Hi,

I have a file and I want to sum all the numbers in it.

Example of the file:

0.6714359
-3842.59553830551

I used your forum...
2,567
Posted By mario8eren
It works, thank you very much :D ! I must...
It works, thank you very much :D !

I must get more acquaintanced with the awk command.
2,567
Posted By mario8eren
Yes, they both are always on the same field.
Yes, they both are always on the same field.
2,567
Posted By mario8eren
Yes they are, but sometimes file "job.last"...
Yes they are, but sometimes file "job.last" number varies. In my example it had four numbers before the dot but sometimes it has three or even two. Behind the dot there are always eleven numbers (and...
2,567
Posted By mario8eren
Greping numbers with dot in it
Hi,

I wanted to create a script what would take two numbers out of two files and add them together, but I got stuck with greping numbers what have a dot in it.

So far I have grepped the two...
Showing results 1 to 21 of 21

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