![]() Example: find . -type f -iname '*.c' | while read -r i; do cat -s "$i" > "$i.new" mv "$i.new" "$i" done |
||
---|---|---|
.. | ||
image.h | ||
jsonsax.h | ||
jsonsax_full.h | ||
rbmp.h | ||
rjpeg.h | ||
rpng.h | ||
rtga.h | ||
rwav.h | ||
rxml.h |
![]() Example: find . -type f -iname '*.c' | while read -r i; do cat -s "$i" > "$i.new" mv "$i.new" "$i" done |
||
---|---|---|
.. | ||
image.h | ||
jsonsax.h | ||
jsonsax_full.h | ||
rbmp.h | ||
rjpeg.h | ||
rpng.h | ||
rtga.h | ||
rwav.h | ||
rxml.h |