Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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
Edited 27-Sep-12 22:48pm
383K
v2
Comments
Sergey Alexandrovich Kryukov at 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 at 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 at 30-Sep-12 20:01pm
   
By now -- multiple re-posts. Reported for abuse.
--SA
Sergey Alexandrovich Kryukov at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 360
1 Gihan Liyanage 332
2 ClimerChinna 222
3 OriginalGriff 206
4 Richard MacCutchan 170
0 Sergey Alexandrovich Kryukov 8,298
1 OriginalGriff 7,112
2 CPallini 2,598
3 Richard MacCutchan 2,005
4 Abhinav S 1,788


Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 28 Sep 2012
Copyright © CodeProject, 1999-2014
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