[Nottingham] bash script help

Paul Sladen notlug at paul.sladen.org
Wed Aug 17 19:45:37 BST 2005


On Wed, 17 Aug 2005, Brian Pickford wrote:
> I need to take the output of a ldd and copy all the listed files:

ldd PROGRAM | awk '$3~/^\//{print $3}' | xargs cp --target-directory=~/HERE

	-Paul
-- 
The sed is awk here.  London, GB




More information about the Nottingham mailing list