unix join separator char

前端 未结 6 926
旧时难觅i
旧时难觅i 2020-12-14 01:30

Sorry for the maybe trivial question.

I fought a bit with the unix join command, trying to get tabs instead of whitespaces as the default separators. -t is

6条回答
  •  不思量自难忘°
    2020-12-14 01:59

    Other way is:

    join -t "`echo -e "\t"`" file1 file2`

    or in a more bash-fashion:

    join -t "$(echo -e "\t")" file1 file

提交回复
热议问题