$ t() { perl -Mv5.10 -e'while (<>) { chomp; say "<$_>"; }' "$@"; } $ t \ <( echo 'Contents of virtual file 1' ) \ <( echo 'Contents of virtual file 2' ) <Contents of virtual file 1> <Contents of virtual file 2> $ echo 'Contents of virtual file' | t <Contents of virtual file>
In reply to Re^3: Use global flag when declaring regular expressions with qr?
by ikegami
in thread Use global flag when declaring regular expressions with qr?
by unmatched
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |