cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using Double Quote in Exec Function

0 Likes
316

Hi Guys,

I need to find a pattern using Shell Scripting in Exec Function. The pattern consist of a double quote.
Command : grep -v \'^"\' test.txt. Please see the attached screenshots for more reference.

This command returns all the lines from test.txt file excepts those which are starting with double quote(").

This command works fine in every other Shell scripting application. But unable to execute the command using exec function.
Can someone let me know if there is any other way to achieve this command using exec function.

Accepted Solutions (0)

Answers (0)