Someone care to enlighten me as to why the spaces in the first command seem to be interpreted as line breaks? Also occurs substituting print for echo.
$for l in $( find *.txt -exec head -1 {} \; ); echo $l;
9.16.11 09:20 9.19.11 18.41 9.21.11 07:15
$find *.txt -exec head -1 {} \;
9.16.11 09:20 9.19.11 18.41 9.21.11 07:15
for
– jw013 Oct 8 '11 at 20:21