Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Dear All,

Please give me shell sciptting in UNIX to do this task as given below:-

1. Write a shell scipt to display the smallest element in a given 2X2 matrix.
Posted
Updated 27-Sep-12 22:48pm
v2
Comments
Sergey Alexandrovich Kryukov 27-Sep-12 20:21pm    
Why do you thin anyone should give it to you? Did you notice this is a Questions & Answers forum? So, ask a question.
Unfortunately, we don't have resources to write scripts on your order, unless some enthusiast would be really interested to do so. However, in this case this is not very likely, because the shell script is not the adequate tool to write such things -- it's elementary the boring way to kill time. :-)
--SA
Andreas Gieriet 28-Sep-12 18:11pm    
Return questions:
1) what shell: bash, ksh, csh, ... perl, ...?
2) how is the matrix given?
3) what output is expected (example: input = ... --> expected output = ...)?
4) interactive or pure batch?
5) need a gui to "display" the result?
6) any robustness requirements (check if really 2x2 matrix, entries are numbers or any kind of symbol, any constraints on numbers like integral numbers only, etc.)?
7) ...
As Sergey pointed out: how comes that you dream of us doing your (home-)work?
Cheers
Andi
Sergey Alexandrovich Kryukov 30-Sep-12 20:01pm    
By now -- multiple re-posts. Reported for abuse.
--SA
Sergey Alexandrovich Kryukov 30-Sep-12 20:01pm    
I must warn you that multiple re-posts you do can result in disabling of your account.
You really should not re-post. Also, you really need to do your home assignment by yourself, to learn at least something.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900