shell中for循环的默认分隔符是:空格、tab、\n
需求是只以\n作为分隔符

文件aa.sh

#!/bin/bash

IFS=$'\n\n'

for i in `cat 1.txt`;
do
    echo $i
done