bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need info.....ugent....


From: James Youngman
Subject: Re: Need info.....ugent....
Date: Tue, 3 Mar 2009 23:42:51 +0000

On Mon, Mar 2, 2009 at 4:02 PM, vimal raj <address@hidden> wrote:
> Sir,
>     I cant able to run the following Shell program in the UBUNTU 7.10 version.

I'm happy to help you but it is better to do that off this mailing
list, since this mailing list doesn't have anything to do with shell
programming on Ubuntu.

But before we take our discussion off-list, could you let us know how
it was to come to ask your question on this list?   I think there may
be a bug in some documentation or something like that, that might have
led you to ask here.   If it's a documentation problem we'd like to
fix that too.  So, could you let us know how you came to ask your
question here?



>
> Program to perform Arithmetic Operations using CASE Statement
>
> echo "Enter two Numbers"
> read a b
> echo "1.Add 2.Sub 3.Mul 4.Div 5.Exit
> read op
> case $op in
> 1) expr '$c=$a+$b';;
> 2) expr '$c=$a-$b';;
> 3) expr '$c=$a\*$b';;
> 4) expr '$c=$a+$b';;
> esac
> How to execute this shell programming and want to know commands...
> Is it through... sh or some other commands for ubuntu 7.10 version
> Kindly reply me if there is any syntax errors in the above program or there 
> is any problem in the UBUNTU version or any components to be installed.
> And also i want the details how to run ANSI C programs...Is there any updates 
> or the components to be installed....Pls provide me some details...
> 1. How to install the 'C' Compiler through CD?
> 2. Where i can download or get those updates?
> 3. How to execute C program in the Terminal?
> 4. How to see the C program output?
>
> Kindly do this needful as early as possible...
>
> With regards,
> Vimalraj R
> BKR Engineering College
> Tiruttani.
>
>
>      Get perfect Email ID for your Resume. Grab now 
> http://in.promos.yahoo.com/address
> _______________________________________________
> Bug-coreutils mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-coreutils
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]