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
VBS - Help needed to modify the code
Windows 2008 64bit system showing only 4GB usable...
Bash Script
Windows 7 WGA says my legitimate copy is NOT GENUINE
Windows 2008 Network Load Balancing
Counting the number of NON EMPTY cells in a table using javascript
Send emails using listed, jquery
Access beta and deployment
How to bypass UAC Pause during remote sessions (Windows 7)
WordPress FIle Manager w/ Database Integration