Ma bag si eu :)

On Tue, Aug 21, 2012 at 6:00 PM, Dumitru Ciobarcianu
<[email protected]> wrote:
> On 21-Aug-12 5:49 PM, Alexandru Balan wrote:
>> 2012/8/21 Victor Buciuc <[email protected]>
>>
>>> Poti folosi sed:
>>> [...]
>>>
>> Dar ceva de genul for q in `cat patterns`; do cat logmare | sed -e '/$q/w
>> q.log' done o merge ?
>>

cat biglog | sed -e $(cat patterns| while read line; do echo "/$line/w
 parsed_$line.txt"; done)

Ar trebui sa mearga...

-- 
...and justice for all...
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui