It is well known that the commutator subgroup of a finitely generated nilpotent group is finitely generated, in fact all subgroups in this case are finitely generated.
I am interested in infinite groups in which the commutator subgroup is finitely generated, but not all subgroups are finitely generated. Can someone provide some class of groups which satisfy this? Thanks.