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
Fully Automatic dental milling machines
Sharepoint 2010 - 2 domains and non domain users
MacBook Stuck on Shut-Down
vb 6.0 version number
CS0433 error when deploying ASP.NET app, type exists two asp.net temporary files
Maxtor Drive getting 'lost'
Reset Domain Administrator Account Windows Server 2008 64Bit
out off office not working for one user
exchange 2010 missing" server configuration"
Flash device Operating System