[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Autotest: do not extract #AT_STOP_
From: |
Ralf Wildenhues |
Subject: |
Re: Autotest: do not extract #AT_STOP_ |
Date: |
Sat, 24 Nov 2007 09:06:35 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hi Stepan,
* Stepan Kasal wrote on Sat, Nov 24, 2007 at 12:38:08AM CET:
> attached find a oneliner. Passes "make check".
> Ok to push?
[...]
> /address@hidden:@AT_STOP_/ {
> test = substr ($ 0, 10)
> - print "at_sed" test "=\"1," start "d;" NR "q\""
> + print "at_sed" test "=\"1," start "d;" (NR-1) "q\""
Sure, why not. We do know that all seds print the second line with
`sed 2q', no? (At least I don't know any other.)
Cheers,
Ralf