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
Custom control communicating an event to parent form
Turn off the UAC
Registration/Evaluation ESxi 3.5 & Client Infrastructure
mcafee EPO script to remove agent and virusscan
Getting the Windows.MessageBox handle
How to store a path in EditBox1.Text via DialogBox control?
Shell Script
How do I add a Folder to Windows Installer without having to add each individual file
HELO server unrecognized command
magento limiting number of returned items in product collection call