summaryrefslogtreecommitdiff
path: root/ipl/gpacks/tiger/tgrclean
blob: 3522276a5e532f3504d51434ce3d4199e0613fd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
#  tgrclean [file] -- remove details from line chain file
#
#  Filters a line chain file to remove pipelines, powerlines, and minor
#  boundaries, except when any of these coincides with a major boundary line.
#  The effect of this is to produce a smaller file with less detail.

sed '
   /^[CEF]..0/d
' $*