Skip to content
Snippets Groups Projects
Commit 29911c64 authored by jo8g21's avatar jo8g21
Browse files

adding line counter of files

parent 185ded46
No related branches found
No related tags found
No related merge requests found
......@@ -7,5 +7,10 @@ do
echo hello $i
done
for file in ./*
do
numLines=$(wc -l < $file)
echo the file $file contains $numLines lines of text
done
echo the value of the variable is $exampleVariable
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment