Definition of IFS and IFS=

时间:2018-03-25 21:01:31

标签: linux unix

What is the difference between IFS and IFS=? I have read on the internet but the definitions are quite vague.Can someone please explain me?

1 个答案:

答案 0 :(得分:0)

内部字段分隔符(IFS),用于在扩展后进行字拆分,并且IFS =为IFS分配空值。您可以在https://bash.cyberciti.biz/guide/ $ IFS上获得有关IFS的更详细的了解。