[plug] Text Filtering
Andrew Barbara
andrew at mmtnetworks.com.au
Tue Mar 19 16:37:02 WST 2002
Thanks That did it.
Leon Brooks wrote:
>On Tuesday 19 March 2002 16:15, Andrew Barbara wrote:
>
>>How would i make this:
>>-rw-rw-r-- 1 2220 235 682547 Mar 11 03:54
>>vnc-server-3.3.3r2-18.3.i386.rpm
>>-rw-rw-r-- 1 2220 235 98464 Oct 30 16:53
>>webalizer-2.01_09-0.72.i386.rpm
>>-rw-rw-r-- 1 2220 235 219510 Nov 26 16:06
>> wu-ftpd-2.6.1-20.i386.rpm
>>
>
>>Look like this:
>>vnc-server-3.3.3r2-18.3.i386.rpm
>>webalizer-2.01_09-0.72.i386.rpm
>>wu-ftpd-2.6.1-20.i386.rpm
>>
>
>Pipe it through one of:
>
> gawk '{ print $9 }'
>
> sed -e 's/^.* //'
>
> cut -c57-
>
>...and there's sure to be many other ways (hello, assorted Matts :-)
>
>Cheers; Leon
>
More information about the plug
mailing list