Search Results

Search: Posts Made By: duncanbetts
2,109
Posted By duncanbetts
Thanks RudiC, that did it :o. Turned out I...
Thanks RudiC, that did it :o.

Turned out I needed spaces for YAML.

find . -name docker-compose.yml -exec sed -i "/command: celery worker/ a\ \ \ \ user: nobody" {} \;
2,109
Posted By duncanbetts
Insert a newline after match in files of specific name under some subdirectories?
Hi

I'd like to add the newline:

\tuser: nobody", or "<TAB>user: nobody

to all files named:

docker-compose.ymlin subfolders of pwd with names beginning with 10-20.

Within these files,...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 10:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy