Search Results

Search: Posts Made By: marimovo
2,259
Posted By marimovo
Thanks guys, are both perfect!
Thanks guys, are both perfect!
2,259
Posted By marimovo
Cut a file in two file selecting a row
I all,
i've got this file:
163.162.126 MGW1
163.162.126 MGW2
163.162.126 MGW3
163.162.126 MGW4
163.162.135 RNC3
163.162.135.RNC23
163.162.126. HLR Node A
163.162.126.HLR Node B...
2,367
Posted By marimovo
That is perfect mate! Thanks!
That is perfect mate! Thanks!
2,367
Posted By marimovo
No mate, it's not what i am looking for. I...
No mate, it's not what i am looking for.
I need to read one or more variable in a single input:

read x
or
read x y

and

if "one variable" do
or
if "two variable" do
2,367
Posted By marimovo
I need to check if the input variable (from read)...
I need to check if the input variable (from read) is one or two.
In case of one i'll use my actual script, but if is two i have to forward to another script:
echo -n "Inserire R:"
read R
echo...
2,367
Posted By marimovo
input
input
2,367
Posted By marimovo
if two or more variables?
Hi all,
i need to read a variable and analyze if there are one or more variable:
read VAR
if "VAR is one ore two or more"; then
...
else
...
fi

Can anybody help?

Regards
5,344
Posted By marimovo
GNU bash, version 3.00.16(1)-release...
GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10)
Copyright (C) 2004 Free Software Foundation, Inc.
5,344
Posted By marimovo
This solution seems to be perfect! ...
This solution seems to be perfect!

---------- Post updated at 12:00 PM ---------- Previous update was at 11:59 AM ----------






It doesn't work! Don't know why, it says "BASH ERROR"!
1,364
Posted By marimovo
awk... what is wrong?
Hi there,
what is wrong with this?


grep ">>" alarms_temp | awk '{print substr($5, 2), $7}' | read var1 var2
echo "$var1"
echo "$var2"


Both variable are empty, but if i run:

grep...
5,344
Posted By marimovo
Hi there, i still have some problem: all...
Hi there,
i still have some problem: all solution you gave me are good, but i am not in deep knowledge to let them work.
The awk solution has some error, the other two don't give any answer. ...
5,344
Posted By marimovo
Thank you guys, a very good lesson! :)
Thank you guys, a very good lesson! :)
5,344
Posted By marimovo
Extract value from a text
Hi all,
my problem is extract a value from a text, i mean, I have this text:

> ala

Nr of active alarms are: 16...
Showing results 1 to 13 of 13

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