$IFS
–
Characters to separate fields
The shell uses each character of the IFS
variable as a separator during word splitting.
Links
Examples
- IFS to split a word
1 2 3
var1="a+b+c" IFS=+ echo $var1
BashSupport Pro 是一款 Bash 和 POSIX 集成开发环境,支持 $IFS - 立即试用!