#!/bin/sh

if test -n "$APPEND"; then
  echo " $APPEND" >> "$1";
else
  if test -n "$EDITOR"; then
    $EDITOR "$1";
  else
    editor "$1";
  fi
fi

