This commit is contained in:
Maciej 2021-03-29 02:45:43 +02:00
parent 41aaeeee40
commit 2f7cf89520

View File

@ -9,7 +9,7 @@ sed 1d who_suicide_statistics.csv | shuf > data.shuf
# Ilosc wierszy
NUMROWS=$(cat data.shuf | wc -l)
echo "Initial number of rows ${NUMROWS}"
echo '{print $1}'
echo $1
CUTOFF=$1
DELETE=$((NUMROWS - CUTOFF))
echo "Cutting ${CUTOFF} rows"