Bash Snippets
Bash Snippets (One Liners)
Find all files (recursively from the current dir) with fiile extension .c and print the file content to stdout:
$ for i in `find . -type f -name "*.c"`; do cat "$i"; done
Does it work for files which contains blanks?
Guess what?
Solution: http://wooledge.org:8000/BashPitfalls
page revision: 1, last edited: 17 Mar 2008 04:21