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
date input as string
How to sync a shared calendar Exchange 2003 Outloook 2007 and Iphones
passing a looped value to a form
Creating digital certificates for individual employee timesheet
PL/SQL Performance
Trying to redirect a user from http to https automatically. Windows 2008 running II7
How to commit changes of a Typed Dataset to database at once
SQL 2008 SP1 Ghost count!
Can plz anyone help for Jboss Clustering
C# 2005 how to Change the Target .NET Framework Version of an Existing Project