Here is one sentence: The line of soldiers advanced with their bayonets fixed.
Here is another sentence: In line with.
Does the term line mean the same thing in both these sentences?
different meanings