Search Results

Search: Posts Made By: thebladerunner
11,872
Posted By thebladerunner
Maybe stupid question, if you use this perl...
Maybe stupid question, if you use this perl command, is it still needed to define this above in the script? #!/bin/ksh

So:
#!/bin/ksh
perl -i -pe 's/(inspect=)ON/\1OFF/' file
11,872
Posted By thebladerunner
change word in a property file
Hi,

I have a property file called "inspector.properties".
In this property file stands the following:
inspect=ON

Now I want to have a shell script that when you run it, changes the ON in OFF...
7,041
Posted By thebladerunner
call constructor of java class in script
Hi,

Is it possible to call the constructur of a java class in a shell script?
I know you can call static methods, but can you also call the constructor?

tnx.
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 01:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy