Commit 087c1cb1 authored by Snehlata0305's avatar Snehlata0305 Committed by GitHub

Add files via upload

parent be289f73
#! /bin/bash
pathdtl=$1
cntnum=$(grep -hcve '^$' $(find $pathdtl/ -name '*' -type f -print))
num=($cntnum)
tot=${#num[@]}
sum=0
for i in "${num[@]}"; do
sum=$((sum+i))
done
echo $sum
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment