Search Results

Search: Posts Made By: joyan321
4,106
Posted By joyan321
Thanks so much ....
Thanks so much ....
4,106
Posted By joyan321
Remove the comment symbol ' from a file.
I want to remove the commented lines in a file identified by ' symbol at the start of each ine. A sample example will be like:

Input
-----
'IFerr_flag=0THEN
iferr_flag=0then
iferr_flag=0then...
34,908
Posted By joyan321
Find index of last occurence of a character within a string
I need to find the index of last '|' (highlighted in bold) in awk :

|ifOraDatabase.Lastservererr<>0then|iferr_flag<>0then|end if

Please suggest a way... Thanks
6,163
Posted By joyan321
Thanks so much...............
Thanks so much...............
6,163
Posted By joyan321
print range between two patterns if it contains a pattern within the range
I want to print between the range two patterns if a particular pattern is present in between the two patterns. I am new to Unix. Any help would be greatly appreciated.

e.g.

Pattern1
Bombay...
4,666
Posted By joyan321
Probably my question is not clear. Here is what I...
Probably my question is not clear. Here is what I want to do. I want to parse a file with if then....end if blocks. I want to have the if condition added in front of the statements which are within...
4,666
Posted By joyan321
I am really new to awk and cannot figure it out...
I am really new to awk and cannot figure it out where I am making the mistake. I tried to handle a situation in which the input file looks like this:

file.txt
------
cond=cond1
cond=cond2...
4,666
Posted By joyan321
okay, the intent is to write to a file (...
okay, the intent is to write to a file ( specified as "OUTPUT" ) in original post from the file ( specified as "INPUT" ). There are no command line options or a menu response. Everything is file...
4,666
Posted By joyan321
shell script to format file based on specific patterns
Please help me out and drag me out the deadlock I am stuck into:

I have a file. I want the statements under a if...then condition be listed in a separate file in the manner...
Showing results 1 to 9 of 9

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