fix script
This commit is contained in:
parent
26f5ac3422
commit
31492ed478
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
curl -LO https://git.wmi.amu.edu.pl/s430705/ium_430705/raw/branch/master/imdb_movies.csv
|
curl -LO https://git.wmi.amu.edu.pl/s430705/ium_430705/raw/branch/master/imdb_movies.csv
|
||||||
shuf ./imdb_movies.csv > ./imdb_movies2.csv | tail -n +5 > ./imdb_movies2.csv
|
shuf ./imdb_movies.csv > ./imdb_movies2.csv | tail -n +$((${CUTOFF})) > ./imdb_movies2.csv
|
||||||
wc -l ./imdb_movies.csv
|
wc -l ./imdb_movies.csv
|
||||||
head -n 4600 ./imdb_movies2.csv > ./test.csv
|
head -n 4600 ./imdb_movies2.csv > ./test.csv
|
||||||
head -n 4600 ./imdb_movies2.csv | tail -n 4600 > ./dev.csv
|
head -n 4600 ./imdb_movies2.csv | tail -n 4600 > ./dev.csv
|
||||||
|
Loading…
Reference in New Issue
Block a user