Files
Alexander Pupeikis 4fd51a0069 add Korn shell to supported languages (#810)
Update test/data/ksh.ksh
2021-08-06 10:25:46 +02:00

18 lines
296 B
Bash
Executable File

#!/bin/ksh
# 17 lines, 11 code, 4 comments, 2 blanks
# first comment
files="/etc/passwd /etc/group /etc/hosts"
for f in $files; do
if [ ! -f $f ]
then
echo "$f file missing!"
fi
done
# second comment
for f in $(ls /tmp/*)
do
print "Full file path in /tmp dir : $f"
done