zs-starter-template/.zs/include

13 lines
169 B
Plaintext
Raw Normal View History

2023-03-30 18:28:08 +03:00
#!/bin/sh
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