私はちょうどそれを学びました、引用はいくつかの場合に大きな違いを生む、そして私はそれをテストするために何かをしました、これが私がちょうどしたことです、
$ 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
、AFAIKecho -e
は展開されますが、 2行\n
を取るにはどうすればよいですか?echo "$xfs"