summaryrefslogtreecommitdiff
path: root/.zs/include
blob: 84e73a592155b4f114d37d677d3790ac6d88a0b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if [ ! $# = 1 ]; then
  printf "Usage: %s <file>\n" "$(basename "$0")"
  exit 0
fi

if [ -f "$1" ]; then
  cat "$1"
else
  echo "error: file not found $1"
fi