on ‎2020 Apr 09 4:56 PM
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.
Request clarification before answering.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.