Complex sentence: A bayonet lug is a feature on many military longarms and some civilian pieces for attaching a bayonet, which is essentialy a long bladed thrusting knife.
Split into simpler sentences: A bayonet lug is a feature on many military longarms and some civilian pieces. It is intended for attaching a bayonet, which is essentially a long bladed thrusting knife.