These and many other options are available to you when you use string operators in bash and other Bourne-derived shells.String operators allow you to manipulate the contents of a variable without having to write your own shell functions to do so. They are provided through "curly brace" syntax. Any variable can be displayed as ${foo} without.String 使用bash/cut/split.