cancel
Showing results for 
Search instead for 
Did you mean: 

Using Double Quote in Exec Function

04-09-2020 5:56 PM
325 views 0 comments
0 Likes
SAP Managed Tags
Subscribe

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.

0 Likes

Accepted Solutions (0)

Answers (0)