Search Results

Search: Posts Made By: kekaes
2,137
Posted By kekaes
Ok. I'll try it. Thank you
Ok. I'll try it.
Thank you
2,137
Posted By kekaes
script with ftp
Hi,
I need to do ftp use to unix script. My conexion ftp have to stop next 3 minutes.

I have tried this in command line:

ftp -v -n -T 180 ftp.myftp.com
but doesn't work.

The error is:
...
1,371
Posted By kekaes
Yes. Thank you very much. :b::D
Yes. Thank you very much. :b::D
1,371
Posted By kekaes
cities="Madrid Paris Londres Lisboa" echo...
cities="Madrid Paris Londres Lisboa"

echo $cities
c=1
for city in $cities; do
echo "city_$c=$city"
((c+=1))
done

echo $city_2



I need so output of this:

Paris
1,371
Posted By kekaes
Variables
Hi!

I need help. I have a list and I need to define a variable, variable. I write the code:


cities="Madrid Paris Londres Lisboa"
i=1
for city in $cities ; do
eval city_$i=$city
...
Forum: Programming 07-15-2010
8,565
Posted By kekaes
Ok. Thanks.
Ok. Thanks.
Forum: Programming 07-15-2010
8,565
Posted By kekaes
Fortran 77 and gfortran
Hi!
I have a program in fortran77. This program was compiled with pgf90, but now, I need compiled it with gfortran.

I show a bit of code.


program hello

PARAMETER(a=100)

...
1,888
Posted By kekaes
Ok. I write the real problem. My script is: ...
Ok. I write the real problem. My script is:
CENTROS="asi_ bkg_ gfz_ gop_ ige_ knmi lpt_ meto ngaa rob_ sgn_"

for centro in $CENTROS;do
estac_$centro=`awk '{print $1}' $dir_listas/$centro.list...
1,888
Posted By kekaes
Variables
I need to define a variable of variable. I'll try to explain it.

I've a list:

LIST="aaa bbb ccc"I need to do something like:

for word in LIST ;do

res_$word=`ls $word`

done
This...
2,217
Posted By kekaes
Ok. Thank you very much. Only one question more. ...
Ok. Thank you very much. Only one question more.

if I do following:

awk '$1 !~/[a-z]/ { next } 1 ' file_input | awk '$2>90 || $2 !~/^[0-9]/ { next } 1 | awk '$3 <-360 || $3>360 || $3...
2,217
Posted By kekaes
Ok. Thanks, it is just what I needed . Can you...
Ok. Thanks, it is just what I needed . Can you explain to me the significance of "{ next } 1"?
2,217
Posted By kekaes
Delete lines
Hello.

I've a file with 17 column. I need to filter this file. For example, if the data in column number 2, is smaller than 4, or it's a word, the programa must delete the line.

Input:

abc ...
1,437
Posted By kekaes
Thank you. kazikamuntu and gaur84. You have saved...
Thank you. kazikamuntu and gaur84. You have saved me.
1,437
Posted By kekaes
Delete line with *****
Hi. I have a problem. In a file I have diferents column and in some of them and in some line I have ******.


ex:

ñlk 0.1 ****** 85
asdf 1.2 9650 ...
2,907
Posted By kekaes
Eliminar lineas con ******
Hola. Tengo un problema. En un archivo tengo distintos campos y en alguno de ellos y en alguna linea me aparecen ******.

ej:

hola 0.1 ****** 85
adios 1.2 ...
Showing results 1 to 15 of 15

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