On 21 May 2013 09:21, Allan McRae <[email protected]> wrote: > allan@arya ~ > > mapfile -t srcdir_refs < <(cd "tmp" && find -type f -exec grep -Il > "10" {} +) > > allan@arya ~ > > echo ${srcdir_refs[@]} > ./out/out-7.txt ./out/out-3.txt ./out/out-2.txt ./out/out-9.txt > ./out/out-8.txt ./out/out-5.txt ./out/out-4.txt ./out/out-1.txt > ./out/out-6.txt > > allan@arya ~ > > printf " %s\n" ${srcdir_refs[@]} > ./out/out-7.txt > ./out/out-3.txt > ./out/out-2.txt > ./out/out-9.txt > ./out/out-8.txt > ./out/out-5.txt > ./out/out-4.txt > ./out/out-1.txt > ./out/out-6.txt > > Buggered if I know; did not work when I tested it.
- Re: [pacman-dev] [PATCH] makepkg: list files containing $sr... Allan McRae
- Re: [pacman-dev] [PATCH] makepkg: list files containin... Dave Reisner
- Re: [pacman-dev] [PATCH] makepkg: list files conta... Phillip Smith
- Re: [pacman-dev] [PATCH] makepkg: list files c... William Giokas
- Re: [pacman-dev] [PATCH] makepkg: list fil... Phillip Smith
- [pacman-dev] [PATCH] makepkg: list files containing $srcdir... Phillip Smith
- Re: [pacman-dev] [PATCH] makepkg: list files containin... Dave Reisner
- Re: [pacman-dev] [PATCH] makepkg: list files conta... Allan McRae
- Re: [pacman-dev] [PATCH] makepkg: list files c... Phillip Smith
- Re: [pacman-dev] [PATCH] makepkg: list fil... Allan McRae
- Re: [pacman-dev] [PATCH] makepkg: lis... Phillip Smith
