I want to search for a string in a file, and if found append a variable to that string.
Here is what I have.
$servername | perl -p -i.bak -e 's/^server\-name \=\.*$/server-name = $F[0]/i' $FILE_LOC
Where $servername is a variable read in from the user from ksh.
I am not fluent in perl...
I just started this book: Core Java Volume II http://www.phptr.com/title/0131118269
I downloaded the sample code from the book from the vendors website. However, I cannot compile the examples that use APIs new to j2se 5.0.
How can I take advantage of the new features introduced in j2se 5.0...
http://www.google.com/apis/
Although still in beta, the ability for developers to search googles massive database would add a great deal of power to supported programming languages.
Just some food for though.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.