Microsoft
Software
Hardware
Network
Question : search and replace
I need a shell script for search and replace in folder. I want the shell script go to /opt/jboss and search for ejb and replace with servlet. I have command to search for a word but don't have command to search and replace.
find /opt/jboss -exec grep -ls ejb {} \;
Remember mine is solaris 10 OS on sparc box.
Thanks in advance
Answer : search and replace
Ah, there is a typo
find $StartPath -type f -exec grep 'ejb' -ls {} \; | while read FileName
should be
find $StartPath -type f -exec grep -ls 'ejb' {} \; | while read FileName
Random Solutions
Excel 2007 viewer error in Windows Server 2008 R2 terminal server (crash)
Build and run of Actuate reports
imap_mail_move on POP3 mailbox
Do you know a utility in Unix I could use that would compare 2 files (for ex:, files A.txt vs B.txt) and display the differences between the 2 files?
isql output
Exchange 2007 mail relay
Class Diagram
SAS 9.1 - Excel Import
Globally change the Blackberry Service Display name
Can I send with another domain from the same exchange server