This question has options. Is the word "line" used in the same way in the following two sentences?

The line of soldiers advanced with their bayonets fixed.

They were arrayed in line of battle.

Select from: (a). different meanings. (b). the same meaning.
(b).