For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > April 2006 > Re: len of column in unix









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: len of column in unix
Nils O. Selåsdal

2006-04-19, 4:02 am

On Tue, 18 Apr 2006 12:07:35 -0700, pawan_test wrote:

> Hi all,
>
> can anyone plz suggest me how do I find the length of a column in unix.


I've a column with length 42.
What kind of columns do you have ?

Alex Colvin

2006-04-19, 8:02 am

> can anyone plz suggest me how do I find the length of a column in unix.

"Column" isn't a common term. Perhaps you mean the length of a file, in
which case it depends on whether you're a user, a C program, or a shell
script.

--
mac the naïf
Chris F.A. Johnson

2006-04-19, 7:04 pm

On 2006-04-19, Alex Colvin wrote:
>
> "Column" isn't a common term.


On the contrary, it's a very commn term. So common that it has
different meanings in different contexts, and sometimes even in the
same context.

> Perhaps you mean the length of a file,


More likely to be the length of a field in a line.

> in which case it depends on whether you're a user, a C program, or a
> shell script.




--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
Alex Colvin

2006-04-19, 7:04 pm

>> can anyone plz suggest me how do I find the length of a column in unix.

>"Column" isn't a common term. Perhaps you mean the length of a file, in
>which case it depends on whether you're a user, a C program, or a shell
>script.


I had in minf, e.g.,
>file 2
>noun
>"a file of boys"
>line, column, row, string, chain, procession, queue.

--
mac the naïf
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com