I want to understand the exact meaning of pos1 and pos2 under sort -k
According to the manual
-k, --key=POS1[,POS2]
See POS syntax below.Start a key at POS1 (origin 1), end it at POS2 (default end of line).
What exactly do pos1 and pos2 mean?
Could anyone explain it clearly in simple terms?
Thanks!