Click here to Skip to main content
13,143,637 members (30,004 online)
Rate this:
Please Sign up or sign in to vote.
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 27-Sep-12 14:12pm
Updated 27-Sep-12 22:48pm
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. :-)
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?
Sergey Alexandrovich Kryukov 30-Sep-12 20:01pm
By now -- multiple re-posts. Reported for abuse.
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170915.1 | Last Updated 28 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100