[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "fields" in files



On Sun, 30 Jan 2011 12:18:39 +0000, Lisi wrote:

> On Sunday 30 January 2011 11:35:56 Camaleón wrote:

>> I call them "file attributes" but not sure if that's the technical name
>> though :-)
> 
> Thanks, Camaleón!  Yes ,that it what they are in this context.  But in
> more general terms, like page, chapter, section etc., rather than the
> names of that particular page etc. -  what are they called?  I want to
> use it with cut if possible, but can't even find if there is a suitable
> option when I don't know what they are called.  Column is too narrow (in
> the physical sense) a definition.  There are 21 of what cut calls
> columns in the name of the file alone in this sample!

Ah!

In the "cut" context they are called "fields" as you said, yep. But 
better if you put and example of what do you want to get and why the 
"name" it is relevant to this case. Hum, oh... maybe something like this? 

sm01@stt008:~$ ls -l | awk '{print $9}'

Desktop
Documentos
file:
News
PDF

Greetings,

-- 
Camaleón


Reply to: