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
Firewall Service won't start after I applied Web access policy wizard
Sync Issues” and “Local Failures make the OST size more than 6 GB
Outlook/Exchange Issue with Emails not showing
SharePoint 2010 - MasterPage - How to create a "header" for Branding above the ribbon so Visitors can view
VB.Net get Excel columns itto an array
Autocomplete
Oracle -- SQL Results ?
how to build a query to display -- to a logged in user -- a list of other users with UserRoleID = 5 -- who ALSO live in the same state as the logged in user?
Export Data to XML File from SQL Database
alliance-leister phishing bot