[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiline output variables.
From: |
Paul Eggert |
Subject: |
Re: multiline output variables. |
Date: |
Mon, 21 Feb 2005 13:10:24 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Dan Manthey <address@hidden> writes:
ac_eof=
while grep "^CEOF$ac_eof\$" conf$$subs.sed >/dev/null 2>&1; do
ac_eof=`expr $ac_eof'0' / 10 + 1`
done
How about something like this instead? It makes only one pass over
the data and should be O(N log N) rather than O(N**2):
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
ac_eof=`expr 0$ac_eof + 1`
> I've received paperwork, and filled it out and given it to my work
> to review and handle as they see fit.
Please let us know when that's done, preferably by resubmitting your
patch to address@hidden Thanks for your work.
- Re: multiline output variables., Dan Manthey, 2005/02/07
- Re: multiline output variables., Albert Chin, 2005/02/07
- Re: multiline output variables., Stepan Kasal, 2005/02/08
- Re: multiline output variables., Dan Manthey, 2005/02/08
- Re: multiline output variables., Noah Misch, 2005/02/08
- Re: multiline output variables., Stepan Kasal, 2005/02/09
- Re: multiline output variables., Dan Manthey, 2005/02/09
- Re: multiline output variables., Paul Eggert, 2005/02/09
- Re: multiline output variables., Dan Manthey, 2005/02/18
- Re: multiline output variables.,
Paul Eggert <=
- Re: multiline output variables., Stepan Kasal, 2005/02/09