exit if input file does not exist

Bu işleme şunda yer alıyor:
Albert S. 2017-06-21 12:14:34 +02:00
ebeveyn 0cd4d3b927
işleme b148780344
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme

Dosyayı Görüntüle

@ -13,6 +13,7 @@ inputfile="$1"
useragentsfile="$2"
if [ ! -f "$inputfile" ] ; then
echo "inputfile does not exist or is not readable"
exit
fi
while true ; do
shuf "$inputfile" | while read line ; do