KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
My awk command works as expected and returns 2 lines at command prompt. When I use php "exec" function, it returns only the second line. echo exec("awk -v RS=\",\" '/some_text/' test1.html"); How do I return all output of shell command using PHP?
Tags (comma-separated)
Save Edits
Cancel