For example:
file a:
Tom:black
Lily:pink
file b:
Tom:big
Kate:small
And, the result:
join -t: a1 a b
Got:
Tom:black:big
Lily:pink
But what I want is:
Tom:black:big
Lily::pink
i.e. The colon in the last line is missing, any idea?
|
feedback
|
|
I would think you'd want the fields to be in a consistent position. If so then one of these would work using only one invocation of
| |||
|
feedback
|
|
This behavior is expected per
You can do it in two passes like this:
or something along those lines. | |||
|
feedback
|