diff --git a/santiago.sh b/santiago.sh index d85f90f..9fdc4b8 100644 --- a/santiago.sh +++ b/santiago.sh @@ -28,7 +28,7 @@ function run { then echo "Toot no valido" else walkerName=$(toot thread "$not" --no-color | head -2 | tail -1 | cut -d "@" -f 2,3 | cut -d " " -f 1) - walkerDate=$(toot thread "$not" --no-color | head -2 | tail -1 | cut -d "@" -f 2,3 | rev | cut -d " " -f 1,2 | rev) + walkerDate=$(toot thread "$not" --no-color | head -2 | tail -1 | cut -d "@" -f 2,3 | rev | cut -d " " -f 1,2,3 | rev | sed "s/ //g") walkerFile=$(echo "$scriptDir/walkers/$walkerName") walkerKm=$(toot thread "$not" --no-color | grep -i "@caminosantiago aƱade " | grep -i "km" | head -1 | tr " " "_" | rev | cut -d "_" -f 1 | rev | tr '[:upper:]' '[:lower:]' | sed 's/km//g') walkerKM=$(echo $walkerKM | sed 's/[^0-9]*//g') # Remove all non-numeric characters diff --git a/walkers/fanta@mastodon.green b/walkers/fanta@mastodon.green deleted file mode 100644 index b2a724a..0000000 --- a/walkers/fanta@mastodon.green +++ /dev/null @@ -1 +0,0 @@ -15:08 CET;1