GEDA
From RoboWiki
gnetlist
First, you need to create a file called 'attribs' in which you list the attributes that you want to end up in the bill of materials. For example, if you put:
refdes device value
In fact, refdes is not necessary as this is default. Then you'll get those 3 attributes in the BOM:
gnetlist -g bom relays.sch
More: