Search Results

Search: Posts Made By: Bhanu Dhulipudi
2,364
Posted By Bhanu Dhulipudi
I created a file called tblfile And then...
I created a file called tblfile

And then added the below contents (i.e. comma separated table names).

table_one,table_ten,table_x,table_y,table_z
2,364
Posted By Bhanu Dhulipudi
@RudiC Thanks for your reply :-) After ran...
@RudiC Thanks for your reply :-)

After ran the script code, got the below error message.

bash-3.2$ ./test.sh
Syntax Error The source line is 1.
The error context is
<<< >>>
...
2,364
Posted By Bhanu Dhulipudi
@balajesuri Thanks for your reply :-) I am...
@balajesuri Thanks for your reply :-)

I am using bash shell.

I guess, this can be done with shell scripting using a for loop.
2,364
Posted By Bhanu Dhulipudi
Finding non-existing words in a list of files in current directory and/or its sub-directories
Hi All,

I have a list of words (these are actually a list of database table names separated by comma).

Now, I want to find only the non-existing list of words in the *.java files of current...
4,967
Posted By Bhanu Dhulipudi
Thanks elixir. I have run the command as...
Thanks elixir.

I have run the command as below.


sed -i.bak ':strt;
s/System[[:space:]]*\.[[:space:]]*out[[:space:]]*\.[[:space:]]*println/Logger.println/g;...
4,967
Posted By Bhanu Dhulipudi
Thanks for your reply. After running the...
Thanks for your reply.

After running the command, it displays the below message.

sed: -e expression #1, char 169: extra characters after command

can you please recheck it.
4,967
Posted By Bhanu Dhulipudi
Replacing System.out.println with Logger.println in *.java using SED (spanned over multiple lines)
Hi,

Can anyone help me out for my below problem.

I need to replace all System.out.println with Logger.println in *.java using SED (spanning multiple lines)
including current &...
Showing results 1 to 7 of 7

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