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

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to