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
prstat vs top command
Key logger software.
My Windows 7 Professional bootup is very slow
Project Server 2010 won't install
Css
WIll quickbooks 2010 run on server 2000?
Joomla Re-install
give Administrative Privilege App by command
Vista security center not responding - High CPU Usage
How to add a flash screen in vb.net 2005