Created
March 9, 2015 07:00
-
-
Save Tux/3efcf2bbcb859a27ef6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo -n "A+B+C+D+" >xx.txt | |
$ cat xx.txt | |
A+B+C+D+$ | |
$ perl6 -e '$*IN.input-line-separator="+";.say for lines():eager' xx.txt | |
A+B+C+D+ | |
$ echo "A+B+C+" | perl6 -e 'use v6;$*IN.input-line-separator="+";.say for lines():eager' | |
A+ | |
B+ | |
C+ | |
$ perl6 --version | |
This is perl6 version 2015.02-241-gcd7c31c built on MoarVM version 2015.02-25-g3d0404a | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment