| Author |
How do you use expr in Bourne UNIX?
|
|
| lorlooks 2001-11-12, 11:11 pm |
| Hello everyone, I'm new to unix and want to write a simple program to use expr to find the sum and average of a set of numbers entered on the keyboard. Any and all help is very much welcome.
Thanks Lori | |
| ccieToBe 2001-11-13, 3:22 am |
| quote: Originally posted by lorlooks
Hello everyone, I'm new to unix and want to write a simple program to use expr to find the sum and average of a set of numbers entered on the keyboard. Any and all help is very much welcome.
Thanks Lori
Here's a tutorial that should get you started. It's written for the BSDs, but should apply to any OS that can run the bourne shell.
http://www.daemonnews.org/200010/answerman.html | |
| sibley 2001-11-16, 2:55 pm |
| #!/usr/bin/sh
echo `expr $1 /2 + $2 / 2` | |
| haseeb_eng 2001-11-17, 8:22 am |
| Hi friends,
I had got 2 Linux Red Hat 7.0 servers in an ISP . I did not worked with Linux redhat before . And please give me also any website address where i can find its documentation so it can help me out in administration . I had worked with sun solaris but that was long time back and i almost forgot it . Any help will be appreciated .
haseeb | |
| dmaftei 2001-11-17, 9:43 am |
| quote: Originally posted by haseeb_eng
And please give me also any website address where i can find its documentation so it can help me out in administration .
These should get you started:
Red Hat
Linux Online | |
| ccieToBe 2001-11-17, 9:48 am |
| quote: Originally posted by haseeb_eng
Hi friends,
I had got 2 Linux Red Hat 7.0 servers in an ISP . I did not worked with Linux redhat before . And please give me also any website address where i can find its documentation so it can help me out in administration . I had worked with sun solaris but that was long time back and i almost forgot it . Any help will be appreciated .
haseeb
Here are a few more links:
http://linuxnewbie.org
http://linuxdoc.org
http://google.com/linux | |
| haseeb_eng 2001-11-18, 2:05 am |
| thx guys i hope so this will help me out |
|
|
|