gdal_sieve(1) on Linux
The text 4aca50dc0e57, as Debian 10 (Buster) shipped it.
Removes small raster polygons.
Flags it lists
-
-mask -
-o -
-of -
-st