1
0
mirror of https://git.mills.io/prologic/zs synced 2025-03-14 00:36:10 +03:00

13 lines
169 B
Bash
Executable File

#!/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