Last active
January 30, 2016 16:02
-
-
Save htfy96/652836a4340aec265624 to your computer and use it in GitHub Desktop.
test.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <unistd.h> | |
#include <cstddef> | |
int main() | |
{ | |
execlp("grep", "grep", "-Po", "(?<=answer=\")[^\"]*(?=\")", "sample.in", NULL); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment