--- /dev/null
+#!/bin/bash
+
+cd $(mktemp -d)
+
+cat >f <<'EOF'
+this
+little
+EOF
+
+
+cedit -v f <<'EOF'
+piggy
+went
+to
+market
+EOF
+
+
+cedit -v sec2 f <<'EOF'
+another little piggy
+stayed home
+EOF
+
+cat >>f <<'EOF'
+wee wee wee
+EOF
+
+cedit -v f <<'EOF'
+piggy
+went
+to
+market
+EOF
+
+
+cedit -v sec2 f <<'EOF'
+another little piggy
+stayed home
+EOF