Bill Jonas on Fri, 14 Jun 2002 21:20:28 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] unix cp function call (thanks)


On Fri, Jun 14, 2002 at 03:05:22PM -0400, Bill Jonas wrote:
> Why not just take a look at the way GNU or BSD cp does it?  For BSD, you
> can check it out of CVS, for GNU, go to
> <ftp://ftp.gnu.org/gnu/fileutils/> and grab the source from there.

Another idea: if you don't want to copy the code, you could just fork,
exec, and have cp(1) do your dirty work for you.

-- 
Bill Jonas    *    bill@billjonas.com    *    http://www.billjonas.com/
"They that can give up  essential  liberty to obtain a little temporary
safety deserve neither liberty nor safety."        -- Benjamin Franklin

Attachment: pgpcnVDifpLGu.pgp
Description: PGP signature