Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Programming

  Asked By: Ras    Date: Jan 03    Category: Unix / Linux / Ubuntu    Views: 735
  

length=`expr length $str`

while [ $length -ne 0 ]
do
b=$b`expr substr $str $length 1`
length=`expr $length - 1`
done
echo "Reverse no is " $b

in above program what this command will do b=$b`expr substr $str $length 1` plz help me

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Programming Or get search suggestion and latest updates.




Tagged: