[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-portage/genlop: ChangeLog genlop-0.30
From: Mike Frysinger <vapier () gentoo ! org>
Date: 2007-09-27 17:09:39
Message-ID: 200709271309.39847.vapier () gentoo ! org
[Download RAW message or body]
On Thursday 27 September 2007, Ulrich Mueller wrote:
> >>>>> On Thu, 27 Sep 2007, Mike Frysinger wrote:
> >> >
> >> > + | (OFS=${IFS} IFS=$'\n'; while read -r n ; do (IFS=${OFS}; eerror "
> >> > ${n}") ; done)
> >>
> >> Can't you do something like "xargs -d'\n' -n1 eerror"?
> >
> > the BSD wankers would complain their xargs doesnt support -d
>
> That's true. Then:
> sed 's/^/X/' | while read -r n; do eerror "${n#X}"; done
> (The substitution can be included in the previous sed command.)
yeah, that works nicely, thanks
time to commit !
-mike
["signature.asc" (application/pgp-signature)]
--
gentoo-dev@gentoo.org mailing list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic