#!/bin/sh cat << EOF | "${EDITOR:-vim}" #include int main(void) { return 0; } // vim: ft=c EOF