Relative Content

Tag Archive for shellxargs

How to handle file name with space in it with bash [duplicate]

This question already has answers here: File names with spaces in BASH (6 answers) Closed 3 days ago. I’m referring to the following command from the book “Linux shell scripting cookbook”. find . -name ‘*.txt’ | xargs -I ^ sh -c “echo -ne ‘n ^: ‘; grep arg ^” And have the following questions: Could […]