no eliminar ultima linia ja no cal

This commit is contained in:
Xaloc 2024-01-24 21:12:22 +01:00
parent 34efb43c9b
commit 86f80f5bdf

View File

@ -44,7 +44,6 @@ then
echo "" echo ""
sleep 1s sleep 1s
grep -e "--$year" $output | awk '{printf("%s\n", $3)}' | sort | uniq >> $sites_output grep -e "--$year" $output | awk '{printf("%s\n", $3)}' | sort | uniq >> $sites_output
sed -i '$ d' $sites_output
sed -i '1d' $sites_output sed -i '1d' $sites_output
if [ $resum = 1 ] if [ $resum = 1 ]
then then