Is it possible to use a string as a delimiter in unix cut command?

后端 未结 5 607
长发绾君心
长发绾君心 2021-02-07 04:18

If I want to cut a list of text using a string as a delimiter, is that possible? For example I have a directory where a list of shell scripts call same perl script say

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-07 04:50

    $ grep abc.pl * | cut -d' ' -f3-999

    In that case just use the space character as the delimiter.

提交回复
热议问题