access previous/next lines in one-liners