What does <<<
mean in this command line?
bc <<< "1 + 1"
It doesn't seem to a combination of <
and <<
, and I can't find documentation for it. It seems to behave just like
echo "1 + 1" | bc
Also works in ksh
, but not in sh
.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…