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

Re: "fields" in files



On Du, 30 ian 11, 12:47:43, Camaleón wrote:
> 
> sm01@stt008:~$ ls -l | awk '{print $9}'
> 
> Desktop
> Documentos
> file:
> News
> PDF

No need for awk, ls will do that with the -1 (the digit 1) option or by 
default if the output is not a terminal (ex. a pipe).

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: