只有一個分隔符

你不能有多個分隔符:如果你指定類似 -d ",;:" 的東西,一些實現只會使用第一個字元作為分隔符(在本例中是逗號)。其他實現(例如 GNU cut)會給你一個錯誤資訊。

$ cut -d ",;:" -f2 <<<"J.Smith,1 Main Road,cell:1234567890;land:4081234567"
cut: the delimiter must be a single character
Try `cut --help' for more information.