#!/bin/sh if [ -n "$1" ]; then touch "$1" chmod +x "$1" vim "$1" else echo "No file specified" exit fi