#!/bin/sh data() { echo -n "foobar" >> "$1" } hole() { truncate --size +10240 "$1" } touch test.empty data test.data hole test.hole data test.data-hole hole test.data-hole hole test.hole-data data test.hole-data data test.data-hole-data hole test.data-hole-data data test.data-hole-data hole test.hole-data-hole data test.hole-data-hole hole test.hole-data-hole