Gentoo Archives: gentoo-dev

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

Attachments

File name MIME type
signature.asc application/pgp-signature