A pipe would work in this case, but backticks are probably simpler.
Originally posted as a Categorized Answer.
In reply to Re: How do I get both the return value and text? backticks vs. system()
by chromatic
in thread How do I get both the return value and text? backticks vs. system()
by flymolo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |