Created
April 13, 2016 14:20
-
-
Save GiovanniBalestrieri/5175dc34676635a6f5ed178bdd232ee3 to your computer and use it in GitHub Desktop.
Saves in variables the number of lines from a file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Controls the length of files | |
echo "Controlling length of files:" | |
numLab=$(cat $csvPath/${file} | wc -l) | |
echo "Labelled: ${numLab}" | |
numUnLab=$(cat $csvPath/${fileNo} | wc -l) | |
echo "UnLabelled: ${numUnLab}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment