Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Get grep output into plsql

3274633Jul 15 2016 — edited Jul 18 2016

So, I'm trying to create a procedure that will take a char as a variable, and pass that variable to a grep command on the server, so that I can ultimately dbms_output a list of all files in a particular directory that match the search string.

Is there any way to call a grep command from plsql and have the output of the grep command come back to the procedure?

Thanks!

-j

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 15 2016
Added on Jul 15 2016
10 comments
3,377 views