Created
April 13, 2016 14:26
-
-
Save GiovanniBalestrieri/1fb1a0672e0983f417f693283fe95200 to your computer and use it in GitHub Desktop.
Merges two files in one and sorts lines
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
trainingSet="trainingSet" | |
#Merge positive and negative instances in a new Training file | |
cat $csvPath/${file} $csvPath/${fileNo} > $csvPath/${trainingSet}.csv | |
#Sort lines in file | |
sort -R $csvPath/${trainingSet} -o $csvPath/${trainingSet} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment