![]() Example: find . -type f -iname '*.c' | while read -r i; do cat -s "$i" > "$i.new" mv "$i.new" "$i" done |
||
---|---|---|
.. | ||
hid | ||
input_common.c | ||
input_x11_common.c | ||
input_x11_common.h | ||
linux_common.c | ||
linux_common.h |
![]() Example: find . -type f -iname '*.c' | while read -r i; do cat -s "$i" > "$i.new" mv "$i.new" "$i" done |
||
---|---|---|
.. | ||
hid | ||
input_common.c | ||
input_x11_common.c | ||
input_x11_common.h | ||
linux_common.c | ||
linux_common.h |