Search Results

Search: Posts Made By: ulrith
4,028
Posted By Loic Domaigne
Try ps -fp 17970 ( this assumes that your...
Try
ps -fp 17970
( this assumes that your 'perl' process that hogs the CPU is 17970 as given in your example). You should then find out the guilty script.

Loïc
1,829
Posted By bakunin
I suppose your problem are some unescaped...
I suppose your problem are some unescaped grouping constructs:

Your regex:
"/\"http:\/\/ccc\.bbb\.com\/documents\/0000\/[0-9]{4}\/([^\.]+\.[a-z]{3})[^\"] \"/

probably correct:
...
1,829
Posted By durden_tyler
sed...
sed 's/"http:\/\/ccc\.bbb\.com\/documents\/0000\/[0-9][0-9][0-9][0-9]\/[^.][^.]*\.[a-z][a-z][a-z][^"]*"/aaa/g' my-file.html


tyler_durden
1,829
Posted By Scrutinizer
Try: sed...
Try:
sed 's|"http://ccc\.bbb\.com/documents/0000/[0-9]\{4\}/[^.][^.]*\.[a-z]\{3\}[^"]*"|aaa|g' infile
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 04:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy