Print rest of the fields in awk

后端 未结 6 1439
遥遥无期
遥遥无期 2021-02-02 06:46

Suppose we have this data file.

john 32 maketing executive
jack 41 chief technical officer
jim  27 developer
dela 33 assistant risk management officer

6条回答
  •  耶瑟儿~
    2021-02-02 07:16

    Another way is to just use sed to replace the first digits and space match:

    sed 's|[0-9]\+\s\+||' file

提交回复
热议问题