> > > awk '{print $(NF-1)}' user.csv
>
> Yup, those blank lines will kill it for sure. A sed filter to
> remove blank lines ahead of the awk statement should allow it to
> work properly.
Or awk only i.e. no sed:
awk '!(/^$/) { print $(NF-1) }' user.csv
--
Nino