what does $| do?

what does $| do?

what does $| do?
$| 在程序中起什么作用呢???
控制是否输出缓冲.
thank you!.