heikkilevanto / beertracker

Simple script to track the beers I drink
GNU General Public License v2.0
2 stars 1 forks source link

Trim leading/trailing spaces from the datafile #161

Closed heikkilevanto closed 3 years ago

heikkilevanto commented 3 years ago

It looks like it is possible to enter values with leading and trailing spaces. They should be filtered out at data entry, but I have both 'Pale Ale' and 'Pale Ale ' in the data file. Fix the splitting of data lines so that it ignores spaces on both sides of the semicolon separator.