Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-13-2010, 11:50 PM   #1
LQ Newbie
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
"How to display string @ row,column? How to time a 'sorting' operation?"

Given a string, row no. and col. no.,i want to display it in the screen appropriately. how to do this?

2.How can i find the cpu processing time taken in carrying out the sorting task (any sorting program)?
Old 08-14-2010, 12:02 AM   #2
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Homeworks not allowed. Try it yourself and when you are stuck at some point, come back with the issue.
Also, use better thread titles that describe your problem. And give more information about the problem.
Old 08-14-2010, 05:47 AM   #3
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Your first question is vague. For the second one, I think the time man page will get you going.
Old 08-14-2010, 06:18 AM   #4
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 180Reputation: 180
Moderator note:
Title changed to tell something about the problem(s).

Also, it looks like a homework question. How have you tried to find your answers?
Old 08-14-2010, 06:59 PM   #5
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 103Reputation: 103
Not sure if this is what you are referring to in #1

ls | pr -3 -h "Homework" -n  -w 65 -o 10 | less
Attached Thumbnails
Click image for larger version

Name:	2010-08-14-195640_1024x600_scrot.png
Views:	6
Size:	51.9 KB
ID:	4316  
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ask awk] remove certain row in a column dhodho Programming 18 06-08-2010 09:36 AM
transpose row to column? resolute155 Programming 3 09-07-2009 02:29 PM
how to get the second column and first row data from a file??? loplayers Linux - Newbie 3 11-05-2007 07:35 PM
Gnumeric's worksheet doesn't display row and column headers correctly frazum Linux - Software 4 07-09-2007 11:53 AM
Transposing a column into a row mayyash Linux - General 1 09-30-2005 02:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration