From 32beee28aeb2b6878b51fbacf8d4da7ad6059641 Mon Sep 17 00:00:00 2001 From: Andy Townsend Date: Sat, 30 May 2026 13:25:20 +0100 Subject: [PATCH] Remove trailing space from opl node search egrep examples A trailing space makes sense for most opl line elements but not for the node list of ways, since that doesn't have a trailing space before the linefeed. --- _opl_file_format/05_examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_opl_file_format/05_examples.md b/_opl_file_format/05_examples.md index 44aec19..01cb71e 100644 --- a/_opl_file_format/05_examples.md +++ b/_opl_file_format/05_examples.md @@ -37,11 +37,11 @@ Count how many objects were created in each hour of the day: Find all closed ways: - egrep '^w' data.osm.opl | egrep 'N(n[0-9]+),.*\1 ' + egrep '^w' data.osm.opl | egrep 'N(n[0-9]+),.*\1' Find all ways tagged with `area=yes` that are not closed: - egrep '^w' data.osm.opl | egrep 'area=yes' | egrep -v 'N(n[0-9]+),.*\1 ' + egrep '^w' data.osm.opl | egrep 'area=yes' | egrep -v 'N(n[0-9]+),.*\1' Find all users who have created post boxes: