Gentoo Archives: gentoo-dev

From: Jeroen Roovers <jer@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/openvpn: ChangeLog openvpn-2.1.3.ebuild
Date: Tue, 05 Oct 2010 04:20:16
Message-Id: 20101005062000.480d15db@epia.jer-c2.orkz.net
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/openvpn: ChangeLog openvpn-2.1.3.ebuild by Nirbheek Chauhan
1 On Fri, 1 Oct 2010 20:47:38 +0530
2 Nirbheek Chauhan <nirbheek@g.o> wrote:
3
4 > >>               for i in $( ls 2>/dev/null ); do
5
6 [...]
7
8 > A nice way around this is to do the following:
9 >
10 > ls -1 | while read i; do
11
12 What pva carelessly omitted to point out was that using ls(1) is
13 incredibly bad bash programming, which is probably why stderr is being
14 redirected in this case, too. :)
15
16
17 jer