The -g flag adds a grouping column, here with the values one and two, that labels each row's origin file. The new column is prepended as the first field of every row. This provenance marker lets you filter or group by source after merging. The number of -g values must match the number of input files.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.