add shell script

This commit is contained in:
michalzareba 2021-03-28 20:07:35 +02:00
parent 94240a18b7
commit df8ea2f58f

9
script.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
curl -OL https://git.wmi.amu.edu.pl/s430705/ium_430705/src/branch/master/imdb_movies.csv
head -n -1 imdb_movies.csv | shuf > imdb_movies.csv.shuf
wc -l imdb_movies.csv
head -n 126 imdb_movies.csv.shuf > test.csv
head -n 126 imdb_movies.csv.shuf | tail -n 2006 > dev.csv
tail -n 379 imdb_movies.csv.shuf > train.csv
wc -l *.csv