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
how to stop sql execution on refreshing a page or closing a browser
Case statement based on query
Can print but not scan on Brother MFC-7840W on a Mac / "Connection Error"
NAT ROUTE on ASA from OUTSIDE MAIL SERVER on DIFFERENT IP SPACE
DAG & CAS array configured but it's not failover
Multiple Dll's in Delphi
Symantec BackupExec 2010 VMware ESX 3.5 x64 guests fails with 'An attempt to take a snapshot of a virtual machine failed because it was unable to quiesce an application'
please help with this xml as2 code
How can the AD objects deletion reflect in WSUS console immediately.
usb printer stopped working and cannot re-install