Search Results

Search: Posts Made By: jeanzibbin
Forum: UNIX and Linux Applications 07-13-2012
26,212
Posted By jeanzibbin
Thank you bakunin... I think, I didnt ask...
Thank you bakunin...
I think, I didnt ask correctly what i want...

My question about something like two dimensional array.

my code:
set -A A1 1 7 13 19
set -A A2 2 8 14 20
set -A A3 3 9...
Forum: UNIX and Linux Applications 07-12-2012
26,212
Posted By jeanzibbin
Array in Ksh
Hi Guys,
My code is something like this

set -A A1 1 7 13 19
set -A A2 2 8 14 20
set -A A3 3 9 15 21

echo "Enter a number"
read number
for i in 0 2 3 4
do
if [ "$number" =...
4,312
Posted By jeanzibbin
Thank you guys... PiKK45 ... the link helped......
Thank you guys...
PiKK45 ... the link helped...
It is working now...
4,312
Posted By jeanzibbin
Still the 'if condition' is not working :(
Still the 'if condition' is not working :(
4,312
Posted By jeanzibbin
[Solved] if condition in ksh
in my code if condition is not working.
i am using array in the if condition

the code:
set -A rt 0 1 7 13 21

echo "Please enter a choice"
read choice;
for i in 0 1 2 3 4
do
if...
2,765
Posted By jeanzibbin
thank you. it worked
thank you.
it worked
2,765
Posted By jeanzibbin
How to store/read multiple values from a varible
Hi,
when I enter 'ps -ef| grep process_name'/'psu | grep process_name', i am getting multiple number of lines output( i mean multiple no of processes).how can i store it one by one and echo it...
Showing results 1 to 7 of 7

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