#!/bin/sh # Open specified file in sdep folder in editor. # Usage: sdep-edit [file] # No options = once file="SDEPDATA/${1:-once}" editor=${VISUAL:-vi} $editor "$file"