Search Results

Search: Posts Made By: neruppu
1,781
Posted By neruppu
Problem in define cpu in Rules file
i try to install solaris OS in M4000 using OK prompts by boot net .
in my rules file i define the cpus like below

probe cpus
probe networks

networks 2 && cpus 8-10 && disksize c0t0d0...
115,646
Posted By neruppu
How to return value in shell script
im using bourne shell

In file scriptA i add a new function, test_return()

test_return()
{
a=1
return $a
}

when i try execute ,

a='/''/scriptA test_return
echo $a

its give...
15,011
Posted By neruppu
im using bourne shell bro...
im using bourne shell bro...
15,011
Posted By neruppu
How to assign eval value as Variable..
Im facing problem in assigning value of eval array variable as normal variable..


x=0
eval DATA${x}="FJSVcpcu"
x=`expr $x + 1`
eval DATA${x}="FJSVcsr"


if x=0, type -> eval echo...
5,423
Posted By neruppu
The problem is solved... omc_num=`grep...
The problem is solved...


omc_num=`grep '^OMC' File1.txt| grep -n "^OMC $omc_ident$" | awk -F: '{ print $1 }'`
5,423
Posted By neruppu
Thanks for explanation but yet it didnt solve my...
Thanks for explanation but yet it didnt solve my problem steve.....
grep '^OMC' File1.txt| grep -n '^OMC $omc_ident$' is return null as ur comment..
Pls let me know if there is any possible...
5,423
Posted By neruppu
grep the number of first occurence
File1.txt

.......
.......
OMC LA
OMC LK
OMC LS
........
........

Above is the content of File1.txt, i want to get the Number of Occurence to order, lets say if OMC LA = 1, OMC LS=3,...
10,750
Posted By neruppu
I just find out that this problem is happen its...
I just find out that this problem is happen its enter the main loop command ....

while [ $temp_loop_condition -eq 0 ]
do
next_loop=0

printf "Testing1 " <- its cant pause and wait...
10,750
Posted By neruppu
Nope but i try this solution, exec 3<&0 while...
Nope but i try this solution,
exec 3<&0
while
...............
...............
read response <&3
...............
...............
done <$input


and i get the endlessly like u mention...
10,750
Posted By neruppu
Im running in Putty, my local machine is window...
Im running in Putty, my local machine is window but the server is unix..

Using the shell : #!/bin/sh
10,750
Posted By neruppu
actually in my scritps, i did follow the flow by...
actually in my scritps, i did follow the flow by put echo messages
and it was entered the loop
and execute both printf and read command, but it didnt pause for user input..

do u have any...
10,750
Posted By neruppu
I just simply put it.. but i dont think it will...
I just simply put it..
but i dont think it will cause this problem...
10,750
Posted By neruppu
the shell not pause when execute read command
Hi, i facing a problem when run the script below..


while [ -z "$ea_ident" -o -n "`grep 2>/dev/null \"^EA $ea_ident$\" $EA_run_file`" ]
do

if [ $all_OMC -ne 1 ]
then
printf...
Showing results 1 to 13 of 13

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