Janez Vrenjak wrote:

> Hello,
> I have the log file from squid.
> The second file is IP_text (one IP address per line)
>
> now I'd like to select all lines from log_file that contains one of the
> IP's in IP_text file
> and put that all in third file.
> Something like
> cat access.log|grep `cat IP_text`
> but that does't work :-(
>
> Any idea
> THX
> Janez
>
>

grep  `cat IP_text` access.log
-��칻�&�zf���칻�&ޖ)�ŧf�{h����&��������yےy�azX����)�m����
$j[���'z��{�i٢�P

Reply via email to