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
Columns cannot convert between unicode and non-unicode string data types.
htaccess 302 redirect - seamless hidden url
office 2007 settings not saved in user profile in terminal server
Backup Exec 2010 on VMWare server backing up iSCSI targets - looking to improve throughput
Where can I download System.Web.Extensions 2.0 version?
sharepoint foundation 2010 on 32 bit?
Outlook 2007 delete cross out message instead of deleting
MS Access 2007 -- Using Like with Left Join
SSIS and variable issues
The user profile service failed the logon.