Microsoft
Software
Hardware
Network
Question : Pattern mathcing and printing in file
I have log file which has lots of entries like this:
<started-me>1234</started-
me>
I want to pick this entire pattern and print it on another file, value "1234" will continuously change in each entry
Can anyone help in this regard?
Answer : Pattern mathcing and printing in file
perl -ne 'print if m(<started-me>.*</started-me>)
' log.file > another.file
Random Solutions
GridView control scroll bars are not visible on page reload
Crystal cross-tab page numbering
Server Error in '/Reports' Application in SQL Server Reporting Services
AJAX Refresh on Submit of Pop Up Window
Event ID 12293 Security -SPP Publishing key management service Error#0x8007232D
XY Chart Label feature
SQL Stored Procedure pass in a list
javax.servlet.jsp.JspExcep
tion: Cannot retrieve definition for form bean null on action
Exchange 2003 Email Delays
Microsoft Information Store stalling issues