|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Cut command in a matrix
Hi All,
I want to display row=2 and column=1 where value=10 with the help of cut command, Please advice me 1 2 3 4 5 6 7 8 9 10 11 12 |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Code:
sed -n 3p file | cut -d' ' -f2 If this doesn't suit your requirement, then please provide more information. More info on data samples, logic and desired output would help. |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
thank you balajesuri , it works
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to convert full data matrix to linearised left data matrix? | evoll | Ubuntu | 8 | 06-03-2011 11:09 AM |
| Cut Command error cut: Bad range | dgmm | Shell Programming and Scripting | 2 | 05-22-2011 12:56 PM |
| Cut and paste data in matrix form | dhilipumich | Shell Programming and Scripting | 7 | 01-20-2010 06:59 PM |
| diagonal matrix to square matrix | yifangt | Shell Programming and Scripting | 11 | 09-12-2009 03:13 PM |
| Use of Cut Command | Puja Sharma | AIX | 3 | 03-26-2008 07:49 AM |
|
|