Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: vapier@g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-portage/genlop: ChangeLog genlop-0.30.8.ebuild
Date: Thu, 27 Sep 2007 13:47:22
Message-Id: 18171.45461.872477.779526@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-portage/genlop: ChangeLog genlop-0.30.8.ebuild by Mike Frysinger
1 >>>>> On Thu, 27 Sep 2007, Mike Frysinger wrote:
2
3 >> > + | (OFS=${IFS} IFS=$'\n'; while read -r n ; do (IFS=${OFS}; eerror "
4 >> > ${n}") ; done)
5
6 >> Can't you do something like "xargs -d'\n' -n1 eerror"?
7
8 > the BSD wankers would complain their xargs doesnt support -d
9
10 That's true. Then:
11 sed 's/^/X/' | while read -r n; do eerror "${n#X}"; done
12 (The substitution can be included in the previous sed command.)
13
14 Ulrich
15 --
16 gentoo-dev@g.o mailing list

Replies