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
How to get the text from jsp file to database?
stop error oxoooooo7b(OxF78D2524,OxC0
000034 will not load XP setup!!!!!!!
Ubuntu default chat client logs
Check to see if a table has a certain value, MS Access 2003
sysstat ntbackup problem "Registry Writer" has reported an error 0x800423f1
Post image file [Binary Data] using HttpWebRequest fails.
SBS 2003 and Second DC questions
Dynamic Form Element
simple math programming question
diff between cfgmgr -v and cfgmgr -v fcs0 and fcs1...