.
This commit is contained in:
parent
68d3a70023
commit
8b5bef03dd
@ -9,9 +9,9 @@ sed 1d who_suicide_statistics.csv | shuf > data.shuf
|
||||
# Ilosc wierszy
|
||||
NUMROWS=$(cat data.shuf | wc -l)
|
||||
echo "Initial number of rows ${NUMROWS}"
|
||||
CUTOFF=$1
|
||||
CUTOFF="$1"
|
||||
DELETE=$((NUMROWS - CUTOFF))
|
||||
echo "Cutting $1 rows"
|
||||
echo "Cutting ${CUTOFF} rows"
|
||||
tail -n $DELETE data.shuf > data.shuf.cut
|
||||
|
||||
# Podzial na 3 pozbiory
|
||||
|
Loading…
Reference in New Issue
Block a user