Zaktualizuj 'script.sh'

.
This commit is contained in:
Julian Zabłoński 2022-03-27 20:27:48 +02:00
parent 52799ac2c0
commit 88def12788

View File

@ -1,10 +1,3 @@
#!/bin/bash
while read line; do
echo "$line"
arrIN=(${$line//,/ })
echo arrIN
if [$line == '?']
then
echo "i have"
fi
done < adult-income-dataset.csv
#delete rows with '?'
cut -d '?' -f 15 adult-income-dataset.csv | sed -r '/^\s*$/d'> data.csv