INSTR under shell?
633487Apr 24 2009 — edited Apr 24 2009Hi everybody,
I am looking for the following SQL translatioin for shell:
within SQL I would create following select statement:
SELECT SUBSTR (column_name, INSTR (column_name, 'character_to_be_searched'), INSTR (column_name, 'char_to_be_searched_end') )
FROM table_name;
The substring I have managed (with awk), but I would like to know how I can implement the INSTR-part for shell.
Thank you for helping me.