Martin Vermeer wrote:
>> 'grep -A' is not POSIX. Tru64 Unix's version of grep, for example,
>> doesn't recognize it.
>> 
>> sed -n '/hyphenation patterns/{
>> :loop
>> /loaded\.$/!{
>> $!{
>> N
>> s/\n//
>> tloop
>> }
>> }
>> p
>> }' chklatex.log > hyphenation.lst
> 
> Yes, this works too :-)

Actually, being anal, I'd check that 'loaded.' was found before printing:

sed -n '/hyphenation patterns/{
:loop
/loaded\.$/!{
$!{
N
s/\n//
tloop
}
}
/loaded\.$/p
}' chklatex.log > hyphenation.lst

> And then how to build on this?

I have no idea.

-- 
Angus

Reply via email to