in reply to Re^2: about split function
in thread Reaped: about split function
If you read the find man page, it explains that it will replace the {} with the currently found filename, and the \; is to terminate the -exec switch argument. (It's looking for just a ; but the shell would eat it if you don't escape it.)
Why two {}s? Read the other man page to see how split(1) works. It needs the filename to split, and we give the name again as a prefix argument to give to each split output.
--
[ e d @ h a l l e y . c c ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: about split function
by ktsirig (Sexton) on Sep 29, 2005 at 08:54 UTC |