| 1 |
<para> |
| 2 |
This option discards points that have shortnames that match the |
| 3 |
provided regular expression. |
| 4 |
</para> |
| 5 |
<example xml:id="discarding_points_with_names"> |
| 6 |
<title>Discarding specific point by regular expression</title> |
| 7 |
<para> |
| 8 |
For example geocaches typically have names starting with GC followed |
| 9 |
by an alphanumeric sequence of variable length. To remove all six character |
| 10 |
long IDs that between (and including) GC1000 and GC2FFF, you could use |
| 11 |
</para> |
| 12 |
<para><userinput> |
| 13 |
gpsbabel -i geo -f geocaching.loc -x discard,matchname=GC[1-2]??? |
| 14 |
</userinput> |
| 15 |
to discard all GCs followed by exactly three characters. |
| 16 |
</para> |
| 17 |
</example> |