Created
June 16, 2017 19:06
-
-
Save othtim/21e05b7b239b96d2c50c4c8af274719d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| while (<>) { | |
| $_ =~ s/\[\s+\d\]//g; | |
| $_ =~ s/\s+/,/g ; | |
| $_ =~ s/^,|,$//g; | |
| print split(/\n/,$_); | |
| print "\n"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment