Re: [ilugc] Column Name display in terminal

2010-02-10 Thread Bharathi Subramanian
On 12:02pm, depp fx wrote:

 Is it possible to make bash display the column names of the output
 when I execute a command?

Bash cannot show the headers. Each command has to provide an option OR
you have to a write wrapper script to do that.

Bye :)
-- 
Bharathi S

___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [ilugc] Column Name display in terminal

2010-02-10 Thread depp fx
 Is it possible to make bash display the column names of the output when I 
 execute a command?

Ahh...good! I don't understand the difficulty in understanding this
question. Anyways, let me break it up in to simpler sentences as
you've asked for. Is it possible that we make the terminal, by
default, display the output column names [like PID MEM etc] when you
run a command [and that could be any command].

For example: ls -lh returns an output without the column names. I
would want to see if there is a way to display the column names like
PERMS, OWNER, GROUP, FILENAME, SIZE etc by default.

 All paid jobs absorb and degrade the mind.

Thats my signature. Yes! Well, you might not like socrates  I haven't
got a problem with that. :)

 The question sounds like the ones that comes PHBs.
I don't think he or I had a PHB.

All paid jobs absorb and degrade the mind.
Have a great day!
N Deepak

http://asilearnit.wordpress.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [ilugc] Column Name display in terminal

2010-02-10 Thread depp fx
 Is it possible to make bash display the column names of the output
 when I execute a command?
 Bash cannot show the headers. Each command has to provide an option OR
 you have to a write wrapper script to do that.

Thanks. I did make some sense when I asked. :)

All paid jobs absorb and degrade the mind.
Have a great day!
N Deepak

http://asilearnit.wordpress.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [ilugc] Column Name display in terminal

2010-02-10 Thread Abishek Goda
Hi,

 Ahh...good! I don't understand the difficulty in understanding this
 question. Anyways, let me break it up in to simpler sentences as
 you've asked for. Is it possible that we make the terminal, by
 default, display the output column names [like PID MEM etc] when you
 run a command [and that could be any command].

 For example: ls -lh returns an output without the column names. I
 would want to see if there is a way to display the column names like
 PERMS, OWNER, GROUP, FILENAME, SIZE etc by default.

I would like to believe that bash/shell is a simple means to run
commands that do your job. There is absolutely no reason why
bash/shell has to understand the outputs or interpret them for you. I
just might do iceweasel from bash. how is it supposed to categorize
all those gtk warning messages i might be getting? Or even know they
are warnings in the first place.

I think we should understand what to expect before looking for it. On
the other hand, its a better idea to see if the individual commands
have such options. I am sure many commands do. Or take their code and
edit that portion in. Its probably not worth trying a global wrapper
script to interpret all the commands that are already there and will
be added.

What I still don't get is why would you need bash/shell to do this for you?



Abishek Goda
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [ilugc] Column Name display in terminal

2010-02-10 Thread Satish Eerpini
On Wed, Feb 10, 2010 at 12:02 PM, depp fx dep...@gmail.com wrote:
 Is it possible to make bash display the column names of the output
 when I execute a command?

I guess Bharathi has already answered your query, but I am just
curious about what would be the need for something like that to be
done ? , as in considering your example itself, if you are using ls
-l , in all the cases the user know the output, then why display the
header names ?
am I missing something here, or do you think it will add some legible
functionality ?

Cheers
Satish
-- 
http://tuxitter.blogspot.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [ilugc] Column Name display in terminal

2010-02-10 Thread depp fx
 am I missing something here, or do you think it will add some legible
 functionality ?

Okay..The problem arose when I used some commands  didn't know what
the columns stood for though I could see the data. Then I had to do a
man on the command, check what columns it displays  then interpret
the results. I guess we could call this answered for now.

All paid jobs absorb and degrade the mind.
Have a great day!
N Deepak

http://asilearnit.wordpress.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [ilugc] Column Name display in terminal

2010-02-10 Thread Mehul Ved
On Wed, Feb 10, 2010 at 3:14 PM, depp fx dep...@gmail.com wrote:
 am I missing something here, or do you think it will add some legible
 functionality ?

 Okay..The problem arose when I used some commands  didn't know what
 the columns stood for though I could see the data. Then I had to do a
 man on the command, check what columns it displays  then interpret
 the results. I guess we could call this answered for now.

If I understand right, you're looking for split window function like
in spreadsheets? Konsole has option for Split View. Not sure if other
terminals can do it.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[ilugc] Column Name display in terminal

2010-02-09 Thread depp fx
Is it possible to make bash display the column names of the output
when I execute a command?

-- 
All paid jobs absorb and degrade the mind.
Have a great day!
N Deepak

http://asilearnit.wordpress.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [ilugc] Column Name display in terminal

2010-02-09 Thread benjamin
On Wed, Feb 10, 2010 at 12:02 PM, depp fx dep...@gmail.com wrote:

 Is it possible to make bash display the column names of the output
 when I execute a command?

that would depend on the command you run

who
who -H


--
benjamin rualthanzauva
http://friendfeed.com/rualthan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [ilugc] Column Name display in terminal

2010-02-09 Thread steve

On 02/10/2010 12:02 PM, depp fx wrote:

Is it possible to make bash display the column names of the output
when I execute a command?

Your question makes no sense at all. Could you give some more context ? What 
command ? what columns ?


cheers,
- steve
--
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [ilugc] Column Name display in terminal

2010-02-09 Thread Rajagopal Swaminathan
On Wed, Feb 10, 2010 at 12:02 PM, depp fx dep...@gmail.com wrote:
 Is it possible to make bash display the column names of the output
 when I execute a command?

Whaa!!

 All paid jobs absorb and degrade the mind.

I am on a paid job and perhaps a highly degraded mind. hence I could
not make out what you mean by column name. what column? what name?
what command?

The question sounds like the ones that comes PHBs.

:)

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc