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 |