Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Replace while loop with tail of multiple files
Gives the exact same output: ``` docker run --rm -ti debian:11 bash -c ' mkdir -p build/subdir1/ build/subdir2 echo "subdir1 error" >build/subdir1/fail.log echo "subdir2 error" >build/subdir2/fail.log find build -type f -name "*.log" -exec tail -n +1 "{}" + ' ==> build/subdir1/fail.log <== subdir1 error ==> build/subdir2/fail.log <== subdir2 error ``` Signed-off-by: Manuel Mendez <[email protected]> Signed-off-by: Thierry Laurion <[email protected]>
- Loading branch information