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

Re: Simple Unix utility?



Jim Pick wrote:
> Now I notice that "cut" seems to buffer everything up.
> 
> $ tail -f /opt/linuxhq/livesite/var/log/access.log |  grep -v "gif" | cut -c1-175
> 
> Is there another way around that?

Assumming you're using apache, why not set up a custom log file that has
the format you want, so you don't have to use cut.

-- 
see shy jo

Attachment: pgpuX1rtV6MFx.pgp
Description: PGP signature


Reply to: