zs-starter-template/.zs/include

15 lines
177 B
Plaintext
Raw Normal View History

2023-03-30 11:28:08 -04:00
#!/bin/sh
2023-04-01 03:01:38 -04:00
set -e
2023-03-30 11:28:08 -04:00
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