how to add an empty line in hundreds of files
HI,list;
how can i add a new empty line in the end of hundreds of files? I've tried this, but it seems not work.. find . -type f -name *.h -exec echo >>{} \; |
what language?
i only know bash for file in `ls`; do echo -e "\n" >> $file; done this adds a blank line to the end of all files in your current directory |
Quote:
but I want to know how to do this only use find. |
All times are GMT -5. The time now is 10:36 AM. |