5 posts were split to a new topic: TIP: How to Use Standard In (stdin) in Shell Scripts
For more information, see the wiki Searching the Forum for Answers section.