0
我刚刚得知,报价作出某些情况下,一个巨大的差异,我做了一些测试它,这里就是我刚刚做,shell引用行为
$ xfs=$(find . -type f -perm -111) #find all files with x-perm
$ echo "$xfs"
./b.out
./a.out
$ echo $xfs
./b.out ./a.out #why all in one line, but the above takes two?
如果$xfs
包含\n
,据我所知,echo -e
将扩大\n
,但echo "$xfs"
如何取两行?