[pacman-dev] [PATCH] contrib/pacdiff : big rework and cleanup

Aaron Griffin aaronmgriffin at gmail.com
Tue Feb 17 18:22:01 EST 2009


On Tue, Feb 17, 2009 at 4:44 PM, Xavier Chantry <shiningxc at gmail.com> wrote:
> +exec 3< <(cmd)
> +while IFS= read -r -d '' pacfile <&3; do
>...
> +exec 3>&-

Wow this looks ugly. Is the anything gained over using a construct like this:

cmd | while read pacfile; do
...
done


More information about the pacman-dev mailing list