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
Is there a user_packages table synonymous to the user_tables table?
Can't access variable in code behind page
VB.NET - New to MultiThreading - Parameter Count Mismatch
How can I check for an install new updates for Symantec Backup Exec? I have clicked on the Help drop down menu, but don't see any options for updates
Displaying DD/MM/YYYY from Mysql Timestamp
Need to modify X-Cart to create .csv file for orders
accessing sonicwall via browser from multiple subnets within same LAN
How to configure the email check interval in Lotus Domino 8
Thumbnail Photo on Exchange 2007
Designing Luns and datastores